/*
 * Marketing pages (Prompt 01): homepage, /creators, shared public header and footer.
 * Tokens only (tokens.css). Classes are prefixed mk-. Light and dark themes.
 */

body.mk-page,
body.landing-page {
  background: var(--bg);
  color: var(--text);
}

.mk-page a:hover,
.mk-header a:hover,
.mk-footer a:hover,
.ui-btn:hover { text-decoration: none; }

.mk-wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 32px;
}

.mk-line { display: block; }

@media (max-width: 619.98px) {
  .mk-wrap { padding-inline: 20px; }
  .mk-line { display: inline; }
  .mk-line + .mk-line::before { content: " "; }
}

/* ===== Header ===== */
.mk-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.mk-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.mk-header__logo { flex-shrink: 0; }

.mk-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  min-width: 0;
}

.mk-header__nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  transition: color 0.15s ease;
}
.mk-header__nav a:hover { color: var(--text); }

.mk-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.mk-header__login {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-control-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.mk-header__login:hover { background: var(--surface-2); color: var(--text); }

.mk-header .ui-btn--sm.mk-header__cta { font-size: 0.875rem; padding: 0 16px; }

.mk-header__menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.mk-header__menu:hover { background: var(--surface-2); }
.mk-header__menu:focus-visible,
.mk-header__nav a:focus-visible,
.mk-header__login:focus-visible,
.mk-header__panel-link:focus-visible,
.mk-footer a:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-control-sm); }
.mk-header__menu-close { display: none; }
.mk-header.is-open .mk-header__menu-open { display: none; }
.mk-header.is-open .mk-header__menu-close { display: inline-block; }

.mk-header__panel {
  border-top: 1px solid var(--line);
  padding: 12px 0 24px;
  background: var(--bg);
}
.mk-header__panel[hidden] { display: none; }
.mk-header__panel .mk-wrap { display: flex; flex-direction: column; }
.mk-header__panel-link {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}
.mk-header__panel-link:hover { color: var(--brand-text); }
.mk-header__panel-cta { margin-top: 20px; width: 100%; }

@media (max-width: 860px) {
  .mk-header__inner { height: 64px; gap: 12px; }
  .mk-header__nav,
  .mk-header__login { display: none; }
  .mk-header__menu { display: inline-flex; }
}
@media (min-width: 861px) {
  .mk-header__panel { display: none !important; }
}
@media (max-width: 370px) {
  .mk-header__actions .mk-header__cta { display: none; }
}

/* ===== Footer ===== */
.mk-footer {
  background: var(--sidebar);
  border-top: 1px solid var(--line);
  color: var(--text);
}
.mk-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-block: 64px 32px;
}
.mk-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.mk-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mk-footer__about { gap: 16px; }
.mk-footer__tagline { margin: 0; max-width: 340px; font-size: 0.9375rem; line-height: 1.6; color: var(--text-2); }
.mk-footer__heading {
  margin: 0 0 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.mk-footer__col a { font-size: 0.9375rem; color: var(--text-2); transition: color 0.15s ease; }
.mk-footer__col a:hover { color: var(--text); }
.mk-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.mk-footer__copy { margin: 0; font-size: 0.875rem; color: var(--text-3); }

.mk-theme-btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
}
.mk-theme-btn:hover { background: var(--surface-2); color: var(--text); }
.mk-theme-btn:focus-visible { outline: none; border-color: var(--brand); box-shadow: var(--focus-ring); }
.mk-theme-btn__state { display: inline-flex; align-items: center; gap: 8px; }
.mk-theme-btn__state--to-light { display: none; }
[data-theme="dark"] .mk-theme-btn__state--to-light { display: inline-flex; }
[data-theme="dark"] .mk-theme-btn__state--to-dark { display: none; }

@media (max-width: 760px) {
  .mk-footer__inner { padding-block: 48px 28px; gap: 36px; }
  .mk-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-footer__about { grid-column: 1 / -1; }
  .mk-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}

/* ===== Hero ===== */
.mk-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
  padding-block: 72px 104px;
}
.mk-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.mk-hero__title { max-width: 14ch; }
.mk-hero__lead {
  margin: 0;
  max-width: 520px;
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-2);
}
.mk-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.mk-hero__rating { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--text-2); }
.mk-hero__rating strong { color: var(--text); }
.mk-hero__stars { color: var(--brand); letter-spacing: 2px; }

.mk-hero__visual { display: flex; justify-content: center; min-width: 0; }

/* Collage frame only. Positions and drift come from landing.css (.dash-collage__tile--N). */
.mk-collage { width: min(100%, 30rem); }
.mk-collage .dash-collage__tile {
  border-radius: var(--radius-panel);
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: var(--shadow-panel);
}

@media (max-width: 959.98px) {
  .mk-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 40px 72px; }
  .mk-hero__title { max-width: 18ch; }
}
@media (max-width: 619.98px) {
  .mk-hero__copy { align-items: center; text-align: center; }
  .mk-hero__title { max-width: none; }
  .mk-hero__ctas { width: 100%; justify-content: center; }
  .mk-hero__ctas .ui-btn { width: 100%; }
  .mk-hero__rating { justify-content: center; }
}

/* Centered hero (/creators) */
.mk-hero__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-block: 96px 88px;
  text-align: center;
}
.mk-hero__center-title { max-width: 860px; }
.mk-hero__lead--center { max-width: 620px; }
.mk-hero__ctas--center { justify-content: center; }
@media (max-width: 619.98px) {
  .mk-hero__center { padding-block: 56px 64px; }
  .mk-hero__ctas--center { width: 100%; }
  .mk-hero__ctas--center .ui-btn { width: 100%; }
}

/* ===== "Built for" strip ===== */
.mk-strip { border-block: 1px solid var(--line); padding-block: 28px; }
.mk-strip__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.mk-strip__label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.mk-strip__intro { margin: 0; font-size: 0.9375rem; color: var(--text-3); }
.mk-strip__types {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-strip__types li { font-size: 1.0625rem; font-weight: 500; color: var(--text-2); }
@media (max-width: 619.98px) {
  .mk-strip__types { gap: 8px 18px; }
  .mk-strip__types li { font-size: 0.9375rem; }
}

/* ===== Sections ===== */
.mk-section { padding-block: 112px; }
.mk-section--tight { padding-block: 72px; }
.mk-section--flush-top { padding-top: 0; }
.mk-section--cta { padding-top: 0; }
.mk-band { background: var(--surface-1); border-block: 1px solid var(--line); }
@media (max-width: 619.98px) {
  .mk-section { padding-block: 72px; }
  .mk-section--flush-top,
  .mk-section--cta { padding-top: 0; }
}

.mk-stack { display: flex; flex-direction: column; gap: 48px; }
.mk-stack--lg { gap: 56px; }
.mk-section-head { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.mk-section-head .ui-lead { margin: 0; }
.mk-section-action { display: flex; }

.mk-grid { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.mk-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 959.98px) {
  .mk-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-grid--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 619.98px) {
  .mk-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.mk-step { display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.mk-step__top { display: flex; align-items: center; justify-content: space-between; }
.mk-step__num { font-size: 0.875rem; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; }
.mk-step__title { margin: 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; color: var(--text); }
.mk-step__body { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--text-2); }
.mk-type { gap: 10px; padding: 24px; min-height: 168px; display: flex; flex-direction: column; }
@media (max-width: 619.98px) {
  .mk-type { min-height: 0; }
}

/* Split layout */
.mk-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
  align-items: center;
}
.mk-split__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.mk-split__copy .ui-lead,
.mk-split__body { margin: 0; }
.mk-split__visual { display: flex; justify-content: center; min-width: 0; }
.mk-wrap:not(.mk-split) > .mk-split__copy { max-width: 720px; }
@media (max-width: 959.98px) {
  .mk-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .mk-split--reverse > .mk-split__copy { order: -1; }
}

.mk-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-features li { display: flex; gap: 12px; align-items: flex-start; }
.mk-features__icon { color: var(--brand); margin-top: 2px; }
.mk-features strong { display: block; font-size: 1rem; font-weight: 600; color: var(--text); }
.mk-features li span > span { display: block; font-size: 0.9375rem; line-height: 1.5; color: var(--text-2); }
@media (max-width: 619.98px) {
  .mk-features { grid-template-columns: minmax(0, 1fr); }
}

/* Panel */
.mk-panel {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-panel);
  padding: 32px;
}
@media (max-width: 619.98px) {
  .mk-panel { padding: 24px; }
}

/* Share panel (Your page) */
.mk-share { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.mk-share__link-col,
.mk-share__places-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mk-share__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 18px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
}
.mk-share__url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}
.mk-share__url span { font-weight: 500; color: var(--text-3); }
.mk-share__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-control);
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.mk-share__places {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-share__places li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.mk-share__places strong { font-size: 0.9375rem; font-weight: 600; color: var(--text); }
.mk-share__places span { font-size: 0.875rem; color: var(--text-2); }
@media (max-width: 959.98px) {
  .mk-share { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .mk-share__places { grid-template-columns: minmax(0, 1fr); }
}

/* Phone preview (admin "Showcase page mockup" fields) */
.mk-phone { width: 300px; max-width: 100%; }
.mk-phone__frame {
  aspect-ratio: 1 / 2;
  padding: 10px;
  border-radius: 44px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-panel), 0 40px 80px -30px rgba(0, 0, 0, 0.35);
}
.mk-phone__screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 35px;
  background: var(--bg);
}
.mk-phone__bar { display: flex; justify-content: center; padding: 14px 12px 0; }
.mk-phone__url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  height: 26px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  font-size: 0.6875rem;
  color: var(--text-2);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.mk-phone__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 18px 16px;
  text-align: center;
}
.mk-phone__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand-tint);
  border: 2px solid var(--brand);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-text);
}
.mk-phone__name { margin: 0; font-size: 1.1875rem; font-weight: 700; color: var(--text); }
.mk-phone__bio { margin: -6px 0 0; font-size: 0.8125rem; line-height: 1.45; color: var(--text-2); }
.mk-phone__card {
  width: 100%;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.mk-phone__amounts { display: grid; grid-template-columns: repeat(var(--mk-cols, 3), minmax(0, 1fr)); gap: 6px; }
.mk-phone__amounts span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.mk-phone__amounts span.is-active {
  border: 1.5px solid var(--brand);
  background: var(--brand-tint);
  color: var(--brand-text);
  font-weight: 700;
}
.mk-phone__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: var(--radius-control-lg);
  background: var(--brand);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--on-brand);
}
.mk-phone__brand { margin: auto 0 0; font-size: 0.6875rem; color: var(--text-3); }

/* Strategy report card */
.mk-report { display: flex; flex-direction: column; gap: 20px; }
.mk-report__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mk-report__sub { margin: 4px 0 0; font-size: 0.875rem; color: var(--text-3); }
.mk-report__rows { margin: 0; }
.mk-report__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.mk-report__row dt { font-size: 0.9375rem; color: var(--text-2); }
.mk-report__row dd { margin: 0; font-size: 0.9375rem; font-weight: 600; text-align: right; color: var(--text); }
.mk-band .mk-report { background: var(--bg); }

/* FAQ */
.mk-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.mk-faq__head { display: flex; flex-direction: column; gap: 16px; }
.mk-faq__head .ui-body { margin: 0; }
.mk-faq__list { border-top: 1px solid var(--line); }
.mk-faq__item { border-bottom: 1px solid var(--line); }
.mk-faq__q { margin: 0; font: inherit; }
.mk-faq__q button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}
.mk-faq__q button:hover { color: var(--brand-text); }
.mk-faq__q button:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-control-sm); }
.mk-faq__plus { color: var(--text-2); }
.mk-faq__minus { color: var(--brand); display: none; }
.mk-faq__q button[aria-expanded="true"] .mk-faq__plus { display: none; }
.mk-faq__q button[aria-expanded="true"] .mk-faq__minus { display: inline-block; }
.mk-faq__a p { margin: 0; padding: 0 40px 24px 0; font-size: 1rem; line-height: 1.65; color: var(--text-2); }
@media (max-width: 959.98px) {
  .mk-faq { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 619.98px) {
  .mk-faq__q button { font-size: 1.0625rem; }
  .mk-faq__a p { padding-right: 0; }
}

/* Final CTA */
.mk-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 72px 32px;
  text-align: center;
  background: var(--brand-tint);
  border: 1px solid var(--brand-tint-line);
  border-radius: var(--radius-panel);
}
.mk-cta .ui-lead { margin: 0; max-width: 460px; }
@media (max-width: 619.98px) {
  .mk-cta { padding: 48px 20px; }
  .mk-cta .ui-btn { width: 100%; }
}

/* Social proof list */
.mk-proof-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.mk-proof-list__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
a.mk-proof-list__item:hover { border-color: var(--line-strong); }
.mk-proof-list__name { font-weight: 600; color: var(--text); }
.mk-proof-list__handle { font-size: 0.875rem; color: var(--text-3); }

/* Social Connector */
.mk-connector { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 760px; margin-inline: auto; text-align: center; }
.mk-connector__title { margin-top: 4px; }
.mk-connector .ui-lead { margin: 0; }
.mk-connector__platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mk-connector__note { margin: 0; font-size: 0.875rem; color: var(--text-3); }

/* Steps strip (/creators) */
.mk-steps-strip {
  display: grid;
  grid-template-columns: repeat(var(--mk-cols, 3), minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}
.mk-steps-strip__item { display: flex; flex-direction: column; gap: 10px; padding: 32px; }
.mk-steps-strip__item + .mk-steps-strip__item { border-left: 1px solid var(--line); }
.mk-steps-strip__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}
.mk-band .mk-steps-strip { background: var(--bg); }
@media (max-width: 959.98px) {
  .mk-steps-strip { grid-template-columns: minmax(0, 1fr); }
  .mk-steps-strip__item + .mk-steps-strip__item { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 619.98px) {
  .mk-steps-strip__item { padding: 24px; }
}

/* Feedback form */
.mk-feedback { display: flex; flex-direction: column; gap: 32px; max-width: 880px; }
.mk-feedback__form { display: flex; flex-direction: column; gap: 20px; }
.mk-feedback__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 619.98px) {
  .mk-feedback__grid { grid-template-columns: minmax(0, 1fr); }
}
.mk-choice { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mk-choice__options { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-choice__option { position: relative; display: inline-flex; cursor: pointer; }
.mk-choice__option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mk-choice__option span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface-1);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.mk-choice__option:hover span { background: var(--surface-2); color: var(--text); }
.mk-choice__option input:checked + span { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-text); font-weight: 600; }
.mk-choice__option input:focus-visible + span { box-shadow: var(--focus-ring); }
.mk-choice.has-error .mk-choice__option span { border-color: var(--danger-text); }

.mk-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: var(--radius-control);
  border: 1px solid;
  font-size: 0.9375rem;
}
.mk-alert--ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok-text); }
.mk-alert--error { background: var(--danger-bg); border-color: var(--danger-line); color: var(--danger-text); }

/* Anchors land below the sticky header */
.mk-page [id] { scroll-margin-top: 88px; }

/* ===== Realistic phone mockup (hero + showcase) ===== */
.mk-device {
  --device-w: 300px;
  --device-metal-1: #4A4A52;
  --device-metal-2: #1C1C21;
  --device-metal-3: #34343B;
  --device-glass: #050506;
  position: relative;
  width: var(--device-w);
  max-width: 100%;
  aspect-ratio: 300 / 616;
  border-radius: 54px;
  padding: 4px;
  background: linear-gradient(145deg, var(--device-metal-1) 0%, var(--device-metal-2) 38%, var(--device-metal-3) 62%, var(--device-metal-2) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 2px 4px rgba(0, 0, 0, 0.25),
    0 30px 60px -20px rgba(0, 0, 0, 0.55),
    0 60px 120px -40px rgba(234, 88, 12, 0.22);
  flex-shrink: 0;
}
.mk-device__bezel {
  width: 100%;
  height: 100%;
  padding: 7px;
  border-radius: 50px;
  background: var(--device-glass);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.mk-device__screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 43px;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
}
/* glass glare */
.mk-device__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 28%, transparent 46%);
  pointer-events: none;
  z-index: 5;
}
.mk-device__btn {
  position: absolute;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--device-metal-2), var(--device-metal-1));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.mk-device__btn--action { left: -3px; top: 96px; height: 26px; }
.mk-device__btn--vol-up { left: -3px; top: 142px; height: 46px; }
.mk-device__btn--vol-down { left: -3px; top: 198px; height: 46px; }
.mk-device__btn--power { right: -3px; top: 160px; height: 72px; background: linear-gradient(270deg, var(--device-metal-2), var(--device-metal-1)); }

.mk-device__status {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 26px 0 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  flex-shrink: 0;
}
.mk-device__island {
  position: absolute;
  left: 50%;
  top: 9px;
  transform: translateX(-50%);
  width: 92px;
  height: 27px;
  border-radius: 999px;
  background: #000;
}
.mk-device__icons { display: inline-flex; align-items: center; gap: 5px; }
.mk-device__battery {
  position: relative;
  display: inline-block;
  width: 23px;
  height: 11px;
  border: 1px solid currentColor;
  border-radius: 3px;
  opacity: 0.9;
}
.mk-device__battery::after { content: ""; position: absolute; right: -3px; top: 3px; width: 1.5px; height: 4px; border-radius: 0 1px 1px 0; background: currentColor; }
.mk-device__battery span { position: absolute; inset: 1.5px; right: 4px; border-radius: 1.5px; background: currentColor; }

.mk-device__url {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: calc(100% - 40px);
  height: 26px;
  margin-top: 2px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  font-size: 11px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

.mk-device__page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  padding: 16px 16px 26px;
  text-align: center;
  min-height: 0;
}
.mk-device__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  background: var(--brand-tint);
  color: var(--brand-text);
  font-size: 23px;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--bg), 0 8px 24px -8px rgba(234, 88, 12, 0.45);
}
.mk-device__avatar img { width: 100%; height: 100%; object-fit: cover; }
.mk-device__who { display: flex; flex-direction: column; gap: 3px; }
.mk-device__name { margin: 0; display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.mk-device__verified { color: var(--brand); flex-shrink: 0; }
.mk-device__bio { margin: 0; font-size: 12px; line-height: 1.4; color: var(--text-2); }
.mk-device__socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.mk-device__socials span { padding: 4px 9px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 10.5px; font-weight: 600; color: var(--text-2); }

.mk-device__card {
  width: 100%;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 13px;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  text-align: left;
}
.mk-device__label { font-size: 11.5px; font-weight: 600; color: var(--text-2); }
.mk-device__amounts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.mk-device__amounts span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.mk-device__amounts span.is-active { border: 1.5px solid var(--brand); background: var(--brand-tint); color: var(--brand-text); font-weight: 700; }
.mk-device__message {
  height: 46px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-size: 11.5px;
  color: var(--text-3);
}
.mk-device__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 12px;
  background: var(--brand);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--on-brand);
  box-shadow: 0 6px 16px -6px rgba(234, 88, 12, 0.6);
}
.mk-device__brand { margin: auto 0 0; font-size: 10.5px; color: var(--text-3); }
.mk-device__home {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 108px;
  height: 4px;
  border-radius: 999px;
  background: var(--text);
  opacity: 0.55;
}

/* Live showcase creator inside the phone: a compact copy of the real mobile Dash Me page */
.mk-live { flex: 1; display: flex; flex-direction: column; min-height: 0; text-align: center; }
.mk-live__top { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 18px; flex-shrink: 0; }
.mk-live__top .ui-logo { pointer-events: none; }
.mk-live__share {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: 9px; color: var(--text);
}
.mk-live__identity { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 4px 18px 16px; }
.mk-live__avatar {
  display: flex; align-items: center; justify-content: center;
  width: 66px; height: 66px; border-radius: 50%; border: 2px solid var(--brand);
  background: var(--brand-tint); color: var(--brand-text); font-size: 22px; font-weight: 700;
  overflow: hidden; flex-shrink: 0;
}
.mk-live__avatar img { width: 100%; height: 100%; object-fit: cover; }
.mk-live__name { margin: 2px 0 0; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.mk-live__name > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-live__verified {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--brand-tint-line); background: var(--brand-tint); color: var(--brand-text);
}
.mk-live__bio {
  margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--text-2); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.mk-live__socials { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
.mk-live__socials span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--text);
}
.mk-live__card { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 18px; border-top: 1px solid var(--line); background: var(--surface-1); text-align: left; flex: 1; }
.mk-live__title { margin: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.mk-live__info {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%; background: var(--surface-2); color: var(--text-2);
}
.mk-live__picker {
  display: flex; align-items: center; gap: 6px; padding: 10px 11px;
  border: 1px solid var(--brand-tint-line); border-radius: 14px;
  background: color-mix(in srgb, var(--brand) 7%, var(--surface-1));
}
.mk-live__dash { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; width: 34px; color: var(--brand); flex-shrink: 0; }
.mk-live__dash span { font-size: 8.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-text); }
.mk-live__times { font-size: 12px; font-weight: 700; color: var(--text-3); margin: 0 1px; }
.mk-live__count {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 34px; height: 34px; border: 1.5px solid var(--line-strong); border-radius: 50%;
  font-size: 14px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums;
}
.mk-live__count.is-selected { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }
.mk-live__count--custom { color: var(--brand); }
.mk-live__paybar { padding: 10px 14px 24px; border-top: 1px solid var(--line); background: var(--surface-1); flex-shrink: 0; }
.mk-live__total { margin: 0 0 7px; font-size: 10.5px; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.mk-live__pay {
  display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 12px;
  border-radius: 999px; background: var(--brand); color: var(--on-brand);
  font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Hero stage with floating cards */
.mk-stage { position: relative; display: flex; justify-content: center; padding: 24px 40px; }
.mk-stage__frame { position: relative; display: flex; }
.mk-toast {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: color-mix(in srgb, var(--surface-2) 94%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-panel), 0 20px 40px -18px rgba(0, 0, 0, 0.45);
  animation: mk-toast-float 6s ease-in-out infinite;
}
.mk-toast--one { top: 88px; left: -46px; }
.mk-toast--two { bottom: 84px; right: -50px; animation-delay: -3s; }
.mk-toast__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-control);
  background: var(--brand-tint);
  border: 1px solid var(--brand-tint-line);
  color: var(--brand);
  flex-shrink: 0;
}
.mk-toast__text { display: flex; flex-direction: column; gap: 1px; text-align: left; }
.mk-toast__label { font-size: 13px; color: var(--text-2); white-space: nowrap; }
.mk-toast__value { font-size: 16px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
@keyframes mk-toast-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .mk-toast { animation: none; }
}
@media (max-width: 1099.98px) {
  .mk-toast--one { left: -60px; }
  .mk-toast--two { right: -60px; }
}
@media (max-width: 619.98px) {
  .mk-toast { display: none; }
  .mk-stage { padding: 8px 0; }
  .mk-device { --device-w: 280px; }
}

/*
 * Live showcase phone: the cards sit on empty parts of the screen and hang mostly outside the phone.
 * "New Dash" floats in the gap between the Dash picker and the pay bar; "Withdrawn" sits right of the photo.
 * Where the column is too narrow for that (960-1200px and phones) they shrink: "New Dash" stays in the gap,
 * "Withdrawn" drops in over the status bar like a phone notification.
 */
.mk-stage__frame--live .mk-toast { padding: 10px 14px 10px 10px; gap: 10px; border-radius: 14px; }
.mk-stage__frame--live .mk-toast__icon { width: 32px; height: 32px; }
.mk-stage__frame--live .mk-toast__label { font-size: 12px; }
.mk-stage__frame--live .mk-toast__value { font-size: 15px; }
.mk-stage__frame--live .mk-toast--one { top: auto; bottom: 122px; left: -118px; }
.mk-stage__frame--live .mk-toast--two { top: 104px; bottom: auto; right: -118px; }
@media (min-width: 960px) and (max-width: 1199.98px), (max-width: 619.98px) {
  .mk-stage__frame--live .mk-toast { display: flex; padding: 6px 11px 6px 6px; gap: 8px; border-radius: 12px; }
  .mk-stage__frame--live .mk-toast__icon { width: 26px; height: 26px; border-radius: 8px; }
  .mk-stage__frame--live .mk-toast__icon svg { width: 14px; height: 14px; }
  .mk-stage__frame--live .mk-toast__label { font-size: 10px; }
  .mk-stage__frame--live .mk-toast__value { font-size: 12.5px; }
  .mk-stage__frame--live .mk-toast--one { bottom: 112px; left: -14px; }
  .mk-stage__frame--live .mk-toast--two { top: 13px; right: 16px; }
}

/* Avatar stack beside the hero eyebrow */
.mk-proof { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mk-proof__stack { display: flex; }
.mk-proof__stack span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: -8px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  font-size: 11px;
  font-weight: 700;
  background: var(--surface-3);
  color: var(--text);
}
.mk-proof__stack span:first-child { margin-left: 0; background: var(--brand-tint); color: var(--brand-text); }
.mk-proof__stack span:nth-child(3) { background: var(--warn-bg); color: var(--warn-text); }
.mk-proof__stack span:nth-child(4) { background: var(--surface-2); color: var(--text-2); }
.mk-proof .ui-eyebrow { letter-spacing: 0.06em; }
@media (max-width: 619.98px) {
  .mk-proof { justify-content: center; }
}
.mk-split__visual .mk-share { grid-template-columns: minmax(0, 1fr); width: 100%; }
.mk-hero { overflow-x: clip; }
