/* Catch Us At marketing page. Direction B, "Order Window".
   Mobile-first. Light and dark follow the visitor's system setting.
   All classes are prefixed mk- so nothing collides with the app's own CSS. */

/* ---------- Fonts (self-hosted, SIL OFL 1.1; licenses in ./fonts) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("./fonts/bricolage-grotesque-latin.woff2") format("woff2-variations"), url("./fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("./fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("./fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("./fonts/caveat-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* brand constants */
  --brand: #D9714A;
  --brand-deep: #A8482A;
  --mustard: #F5B83D;
  --espresso: #2B1810;
  --cream: #FFF3DC;
  --awning-alt: #F1DDB8;

  /* theme (light) */
  --bg: #FFF3DC;
  --ink: #2B1810;
  --muted: #5E4537;
  --card: #FFFFFF;
  --line: #EAD5AF;
  --soft: #FBE7C2;
  --tile: #FBEBD0;
  --hi: #A8482A;
  --btn-bg: #A8482A;
  --btn-fg: #FFFFFF;
  --btn-shadow: #6E2E19;
  --panel-dark: #3A2A22;
  --on-dark: #FFF1DA;
  --on-dark-muted: #E6D4BE;
  --screen: #FFFFFF;
  --frame: #2B1810;
  --window: #2B1810;
  --cancel: #A12B17;
  --cancel-bg: #FCE1D9;
  --ev-bg: #FBE3D6;
  --ev-ink: #6E2E19;
  --cta-bg: #A8482A;
  --cta-fg: #FFFFFF;
  --cta-btn-bg: #FFF3DC;
  --cta-btn-fg: #2B1810;
  --foot-bg: #2B1810;
  --foot-ink: #FFF1DA;
  --foot-muted: #D9C4AB;
  --shadow: 0 18px 40px rgba(40, 25, 10, 0.14);

  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;

  --wrap: 1152px;
  --gutter: 16px;
  --section-y: 72px;
  --radius: 24px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1B120D;
    --ink: #FFF1DA;
    --muted: #D9C4AB;
    --card: #2A1C15;
    --line: #4A362C;
    --soft: #2B1D16;
    --tile: #33241C;
    --hi: #F08A62;
    --btn-bg: #D9714A;
    --btn-fg: #1B120D;
    --btn-shadow: #6E2E19;
    --panel-dark: #0F0906;
    --screen: #221710;
    --frame: #000000;
    --window: #0C0705;
    --cancel: #FF9C8A;
    --cancel-bg: #472319;
    --ev-bg: #3A2419;
    --ev-ink: #FFD9C7;
    --cta-bg: #D9714A;
    --cta-fg: #1B120D;
    --cta-btn-bg: #1B120D;
    --cta-btn-fg: #FFF1DA;
    --foot-bg: #0F0906;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  }
}
:root[data-theme="dark"] {
  --bg: #1B120D; --ink: #FFF1DA; --muted: #D9C4AB; --card: #2A1C15; --line: #4A362C; --soft: #2B1D16;
  --tile: #33241C; --hi: #F08A62; --btn-bg: #D9714A; --btn-fg: #1B120D; --panel-dark: #0F0906;
  --screen: #221710; --frame: #000000; --window: #0C0705; --cancel: #FF9C8A; --cancel-bg: #472319;
  --ev-bg: #3A2419; --ev-ink: #FFD9C7; --cta-bg: #D9714A; --cta-fg: #1B120D; --cta-btn-bg: #1B120D;
  --cta-btn-fg: #FFF1DA; --foot-bg: #0F0906; --shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

@media (min-width: 900px) {
  :root { --gutter: 48px; --section-y: 112px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 64px; }
}

/* ---------- Base ---------- */
.mk, .mk *, .mk *::before, .mk *::after { box-sizing: border-box; }
body.mk {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.mk img, .mk svg { display: block; max-width: 100%; }
.mk svg { flex-shrink: 0; }
.mk a { color: inherit; }
.mk :focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 6px; }
.mk ul, .mk ol { margin: 0; padding: 0; list-style: none; }
.mk p, .mk h1, .mk h2, .mk h3 { margin: 0; }
.mk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mk-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.mk-skip:focus { top: 12px; }
.mk [id] { scroll-margin-top: 84px; }
html:has(body.mk) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(body.mk) { scroll-behavior: auto; } }

.mk-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.mk-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.9rem, 1.6rem + 5.2vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 96;
}
.mk-h1__hi { color: var(--hi); display: inline-block; }
.mk-swash { width: 100%; height: 18px; margin-top: -4px; color: var(--mustard); }
.mk-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 1.5rem + 3.3vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
.mk-h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 1.4rem + 0.6vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.mk-h3--lg { font-size: clamp(2rem, 1.5rem + 1.7vw, 2.9rem); letter-spacing: -0.03em; text-wrap: balance; }
.mk-lead { font-size: clamp(1.06rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.mk-kicker { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.14em; color: var(--hi); }
.mk-kicker--mustard { color: var(--mustard); }
.mk-label {
  align-self: flex-start;
  display: inline-block;
  background: var(--mustard);
  color: var(--espresso);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  padding: 6px 11px;
  border-radius: 7px;
}
.mk-stamp {
  align-self: flex-start;
  background: var(--mustard);
  color: var(--espresso);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 7px 12px;
  border-radius: 8px;
  transform: rotate(-1.5deg);
}

.mk-intro { display: flex; flex-direction: column; gap: 16px; }
.mk-intro--center { align-items: center; text-align: center; margin: 0 auto; max-width: 880px; }
.mk-intro--center .mk-lead { max-width: 680px; }
.mk-intro--left { align-items: flex-start; text-align: left; }
.mk-intro--onDark .mk-h2 { color: var(--on-dark); }
.mk-intro--onDark .mk-lead { color: var(--on-dark-muted); }
@media (min-width: 900px) { .mk-intro { gap: 20px; } }

/* ---------- Buttons ---------- */
.mk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.mk .mk-btn { color: var(--btn-fg); }
.mk-btn:hover { filter: brightness(1.06); }
.mk-btn--sm { min-height: 44px; padding: 0 15px; font-size: 0.94rem; white-space: nowrap; }
.mk-btn--lg { min-height: 60px; padding: 0 28px; font-size: 1.18rem; border-radius: 14px; box-shadow: 0 5px 0 var(--btn-shadow); }
.mk-btn--lg:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--btn-shadow); }
.mk-btn--block { display: flex; width: 100%; min-height: 56px; border-radius: 14px; font-size: 1.06rem; }
.mk .mk-btn--mustard { background: var(--mustard); color: var(--espresso); }
.mk .mk-btn--invert { background: var(--cta-btn-bg); color: var(--cta-btn-fg); box-shadow: 0 5px 0 rgba(0, 0, 0, 0.25); }

/* Visual-only button stand-ins inside mockups (mockups are role="img"). */
.mk-fakebtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 12px; border-radius: 12px;
  font-weight: 700; font-size: 14px; white-space: nowrap;
}
.mk-fakebtn--sm { min-height: 40px; border-radius: 9px; }
.mk-fakebtn--block { display: flex; width: 100%; min-height: 48px; font-size: 15px; }
.mk-fakebtn--brand { background: var(--btn-bg); color: var(--btn-fg); }
.mk-fakebtn--ink { background: var(--espresso); color: var(--cream); flex-grow: 1; }
.mk-fakebtn--outline { border: 2px solid var(--espresso); color: var(--espresso); }
.mk-fakebtn--outline-ink { border: 2px solid var(--ink); color: var(--ink); }

/* ---------- Awning ---------- */
.mk-awning { height: 26px; background: repeating-linear-gradient(90deg, var(--brand) 0 40px, var(--cream) 40px 80px); }
.mk-scallop {
  height: 16px;
  background:
    radial-gradient(circle at 20px 0, var(--brand) 15.5px, transparent 16px) 0 0 / 80px 16px repeat-x,
    radial-gradient(circle at 60px 0, var(--awning-alt) 15.5px, transparent 16px) 0 0 / 80px 16px repeat-x;
}
.mk-awning--sm { height: 26px; background: repeating-linear-gradient(90deg, var(--brand) 0 24px, var(--cream) 24px 48px); }
.mk-scallop--sm {
  height: 12px;
  background:
    radial-gradient(circle at 12px 0, var(--brand) 11.5px, transparent 12px) 0 0 / 48px 12px repeat-x,
    radial-gradient(circle at 36px 0, var(--awning-alt) 11.5px, transparent 12px) 0 0 / 48px 12px repeat-x;
}
@media (min-width: 900px) {
  .mk-awning { height: 34px; }
  .mk-scallop {
    height: 20px;
    background:
      radial-gradient(circle at 20px 0, var(--brand) 19.5px, transparent 20px) 0 0 / 80px 20px repeat-x,
      radial-gradient(circle at 60px 0, var(--awning-alt) 19.5px, transparent 20px) 0 0 / 80px 20px repeat-x;
  }
}

/* ---------- Header ---------- */
.mk-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
}
.mk-header__inner { display: flex; align-items: center; gap: 8px; min-height: 64px; padding-right: 10px; }
.mk-logo { display: flex; flex-shrink: 0; }
.mk-logo img { height: 40px; width: auto; }
.mk-nav { display: none; }
.mk-header .mk-btn--sm { margin-left: auto; }
.mk-menu { position: relative; }
.mk-menu > summary {
  list-style: none; cursor: pointer;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; color: var(--ink);
}
.mk-menu > summary::-webkit-details-marker { display: none; }
.mk-menu[open] > summary { background: var(--soft); }
.mk-menu__panel {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 220px; padding: 8px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.mk-menu__panel a { min-height: 48px; display: flex; align-items: center; padding: 0 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.mk-menu__panel a:hover { background: var(--soft); }
@media (min-width: 900px) {
  .mk-header__inner { min-height: 80px; gap: 32px; padding-right: var(--gutter); }
  .mk-logo img { height: 52px; }
  .mk-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
  .mk-nav a { font-weight: 700; text-decoration: none; }
  .mk-nav a:hover { color: var(--hi); }
  .mk-header .mk-btn--sm { margin-left: 0; }
  .mk-menu { display: none; }
}

/* ---------- Sections ---------- */
.mk-section { padding: var(--section-y) 0; background: var(--bg); }
.mk-section--soft { background: var(--soft); }
.mk-section--dark { background: var(--panel-dark); color: var(--on-dark); }

/* ---------- Checklists ---------- */
.mk-checks { display: flex; flex-direction: column; gap: 12px; }
.mk-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; line-height: 1.4; }
.mk-checks__badge { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: -1px; }
.mk-checks--good .mk-checks__badge { background: var(--mustard); color: var(--espresso); }
.mk-checks--bad .mk-checks__badge { background: #5E3A2C; color: #FFB4A3; }
.mk-checks--onDark { color: var(--on-dark); }
@media (min-width: 900px) { .mk-checks li { font-size: 1.1rem; } }

/* ---------- Hero ---------- */
.mk-hero { padding: 20px 0 64px; }
.mk-hero__grid { display: flex; flex-direction: column; gap: 44px; }
.mk-hero__copy { display: flex; flex-direction: column; gap: 20px; }
.mk-hero__lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.32rem); line-height: 1.5; color: var(--muted); max-width: 540px; }
.mk-hero__cta { display: flex; flex-direction: column; gap: 12px; }
.mk-hero__cta .mk-btn--lg { width: 100%; }
.mk-hero__note { font-size: 0.9rem; color: var(--muted); text-align: center; }
.mk-hero__note br { display: none; }
.mk-chips { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.mk-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px;
  background: var(--card); border: 1.5px solid var(--line);
  font-size: 0.94rem; font-weight: 700;
}
.mk-chip svg { color: var(--hi); flex-shrink: 0; }
.mk-hero__visual { display: flex; justify-content: center; }
@media (min-width: 640px) {
  .mk-hero__cta { flex-direction: row; align-items: center; gap: 20px; }
  .mk-hero__cta .mk-btn--lg { width: auto; }
  .mk-hero__note { text-align: left; }
  .mk-hero__note br { display: inline; }
  .mk-chips { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 1000px) {
  .mk-hero { padding: 40px 0 110px; }
  .mk-hero__grid { flex-direction: row; align-items: center; gap: 56px; }
  .mk-hero__copy { flex: 1 1 0; gap: 26px; }
  .mk-hero__visual { flex: 0 0 auto; }
}

/* ---------- Truck window + phone ---------- */
.mk-window { position: relative; width: min(100%, 360px); }
.mk-window .mk-awning--sm { border-radius: 10px 10px 0 0; }
.mk-window__frame {
  position: relative;
  height: 560px; overflow: hidden;
  background: var(--window);
  border-radius: 0 0 26px 26px;
  padding: 34px 20px 0;
  display: flex; justify-content: center;
}
.mk-window__frame .mk-scallop--sm { position: absolute; left: 0; right: 0; top: 0; }
.mk-window__tag {
  position: absolute; top: -22px; left: -8px;
  transform: rotate(-6deg);
  background: var(--mustard); color: var(--espresso);
  padding: 10px 14px 8px; border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  display: flex; flex-direction: column; gap: 2px;
}
.mk-window__tag-label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; }
.mk-window__tag-url { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
@media (min-width: 1000px) {
  .mk-window { width: 400px; }
  .mk-window__frame { height: 700px; padding: 34px 40px 0; }
  .mk-window__tag { left: -40px; top: -26px; padding: 12px 16px 10px; }
  .mk-window__tag-url { font-size: 17px; }
}

.mk-phone {
  width: 320px; height: 660px; flex-shrink: 0;
  border: 10px solid var(--frame); border-radius: 46px;
  background: var(--screen); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  color: var(--ink); font-size: 14px; text-align: left;
}
.mk-phone__band { background: var(--brand-deep); color: #FFFFFF; padding: 12px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.mk-phone__url { align-self: center; display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.22); font-size: 12px; }
.mk-phone__vendor { display: flex; gap: 12px; align-items: center; }
.mk-phone__vendor-text { display: flex; flex-direction: column; gap: 1px; }
.mk-phone__name { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.01em; line-height: 1.15; }
.mk-phone__tagline { font-size: 13px; }
.mk-phone__heading { padding: 10px 16px 4px; font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.mk-phone__list { display: flex; flex-direction: column; }
.mk-phone__follow { margin: auto 12px 14px; }

.mk-ticket {
  margin: 14px 12px 6px; padding: 14px 16px;
  border-radius: 16px; background: var(--mustard); color: var(--espresso);
  border: 2px dashed rgba(43, 24, 16, 0.35);
  display: flex; flex-direction: column; gap: 2px;
}
.mk-ticket__label { font-size: 11px; letter-spacing: 0.14em; font-weight: 700; }
.mk-ticket__time { font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.mk-ticket__name { font-size: 16px; font-weight: 700; margin-top: 4px; }
.mk-ticket__place { font-size: 13px; }
.mk-ticket__actions { display: flex; gap: 8px; margin-top: 10px; }

.mk-avatar {
  border-radius: 50%; background: var(--mustard); color: var(--espresso);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-family: var(--font-display); font-weight: 800;
}
.mk-avatar--xs { width: 32px; height: 32px; font-size: 12px; }
.mk-avatar--sm { width: 36px; height: 36px; font-size: 13px; }
.mk-avatar--md { width: 42px; height: 42px; font-size: 15px; }
.mk-avatar--lg { width: 50px; height: 50px; font-size: 19px; border: 3px solid #FFFFFF; }

/* ---------- Schedule rows (reusable) ---------- */
.mk-row { display: flex; gap: 12px; align-items: center; padding: 7px 14px; }
.mk-row__date {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px; background: var(--tile);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.mk-row__dow { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); }
.mk-row__day { font-family: var(--font-display); font-size: 19px; font-weight: 800; line-height: 1; }
.mk-row__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex-grow: 1; }
.mk-row__name { font-size: 15px; font-weight: 700; line-height: 1.25; }
.mk-row__meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mk-row.is-cancelled .mk-row__name { color: var(--muted); text-decoration: line-through; }
.mk-cancelled {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 8px; border-radius: 6px;
  background: var(--cancel-bg); color: var(--cancel);
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
}
.mk-row--full { padding: 11px 16px; border-top: 1px solid var(--line); }
.mk-row--full .mk-row__date { background: transparent; width: 42px; height: auto; }
.mk-row--full .mk-row__dow { font-size: 11px; letter-spacing: 0.08em; }
.mk-row--full .mk-row__day { font-size: 22px; }
.mk-iconbtn {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
  border: 1.5px solid var(--line); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Problem ---------- */
.mk-compare {
  margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px;
}
.mk-compare__side { border-radius: 24px; padding: 28px 12px 30px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.mk-compare__side > .mk-checks { width: 100%; max-width: 380px; padding: 0 6px; }
.mk-compare__side--before { background: var(--panel-dark); color: var(--on-dark); }
.mk-compare__side--after { background: var(--bg); border: 2px solid var(--line); }
.mk-compare__label { font-family: var(--font-display); font-weight: 800; font-size: 1.65rem; letter-spacing: -0.02em; }
.mk-compare__side--after .mk-compare__label { color: var(--hi); }
@media (min-width: 900px) {
  .mk-compare { margin-top: 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-radius: 30px; overflow: hidden; border: 2px solid var(--line); }
  .mk-compare__side { border-radius: 0; padding: 48px 32px; gap: 28px; }
  .mk-compare__side--after { border: 0; }
  .mk-compare__label { font-size: 1.9rem; }
}

.mk-feed {
  width: 100%; max-width: 360px; border-radius: 22px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
  display: flex; flex-direction: column; text-align: left;
}
.mk-feed__prev-image { height: 64px; background: #B7C4AE; }
.mk-feed__actions { padding: 8px 14px 4px; display: flex; gap: 14px; color: var(--muted); }
.mk-feed__caption { padding: 0 14px 12px; font-size: 12px; color: var(--muted); }
.mk-feed__divider { height: 1px; background: var(--line); }
.mk-feed__head { padding: 10px 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.mk-feed__avatar { width: 30px; height: 30px; border-radius: 50%; background: #E9B64A; }
.mk-feed__age { font-size: 12px; color: var(--muted); }
.mk-feed__graphic {
  position: relative; height: 270px; overflow: hidden;
  padding: 20px 22px; display: flex; flex-direction: column; gap: 2px;
  background-color: #5B3C2B;
  background-image: radial-gradient(#6E4B37 2.5px, transparent 3px), radial-gradient(#4E3224 2px, transparent 2.5px);
  background-size: 22px 22px, 17px 17px;
  background-position: 0 0, 8px 11px;
  font-family: var(--font-hand); font-weight: 700;
}
.mk-feed__title { font-size: 38px; color: #A07B63; transform: rotate(-5deg); transform-origin: left; line-height: 1; margin-bottom: 10px; }
.mk-feed__line { font-size: 17px; line-height: 1.2; color: #8E6D59; }
.mk-feed__sticker {
  position: absolute; right: 14px; bottom: 16px; width: 78px; height: 78px; border-radius: 50%;
  background: #C79A78; color: #6B4A36; display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 17px; line-height: 1; transform: rotate(12deg);
}

.mk-after {
  width: 100%; max-width: 380px; border-radius: 22px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column; text-align: left;
}
.mk-after__head { padding: 16px; display: flex; gap: 12px; align-items: center; }
.mk-after__head-text { display: flex; flex-direction: column; gap: 1px; }
.mk-after__name { font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.mk-after__host { font-size: 13px; color: var(--muted); }
.mk-after__foot { padding: 14px 16px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.mk-after__note { font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- How it works ---------- */
.mk-steps { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; counter-reset: none; }
.mk-step {
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
}
.mk-step__num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--mustard); color: var(--espresso);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
}
.mk-step__text { color: var(--muted); margin-bottom: 4px; }
@media (min-width: 900px) {
  .mk-steps { margin-top: 48px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
  .mk-step { padding: 28px; }
  .mk-step .mk-stepviz { margin-top: auto; }
}

.mk-stepviz { background: var(--soft); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.mk-stepviz--tight { padding: 14px; gap: 8px; }
.mk-section--soft .mk-stepviz { background: var(--bg); }
.mk-stepviz__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mk-stepviz__toggle { display: flex; align-items: center; justify-content: space-between; font-weight: 700; padding-top: 2px; }
.mk-stepviz__hint { color: var(--muted); }
.mk-switch { width: 46px; height: 28px; border-radius: 999px; background: var(--btn-bg); position: relative; flex-shrink: 0; }
.mk-switch span { position: absolute; right: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; }
.mk-fakefield { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mk-fakefield__label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); }
.mk-fakefield__value {
  height: 44px; display: flex; align-items: center; padding: 0 12px;
  border-radius: 10px; border: 1.5px solid var(--line); background: var(--card);
  font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mk-linkbox { display: flex; gap: 8px; align-items: center; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 12px; }
.mk-linkbox__url { flex-grow: 1; min-width: 0; font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-tag { padding: 6px 11px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); font-size: 13px; font-weight: 700; }
.mk-notif { display: flex; gap: 10px; align-items: center; background: var(--card); border-radius: 12px; padding: 9px 11px; box-shadow: 0 6px 14px rgba(40, 25, 10, 0.12); }
.mk-notif__text { display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
.mk-notif__text span { color: var(--muted); }

.mk-calday { display: flex; gap: 10px; }
.mk-calday__date { width: 36px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; padding-top: 4px; }
.mk-calday__date span { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); }
.mk-calday__date b { font-family: var(--font-display); font-size: 19px; font-weight: 800; line-height: 1.05; }
.mk-calday__events { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mk-ev { border-radius: 8px; padding: 7px 10px; font-size: 13px; line-height: 1.3; display: flex; justify-content: space-between; gap: 8px; }
.mk-ev--vendor { background: var(--ev-bg); color: var(--ev-ink); }
.mk-ev--personal, .mk-ev--cancelled { background: var(--tile); color: var(--muted); }
.mk-ev__flag { font-weight: 700; color: var(--cancel); white-space: nowrap; }

/* ---------- What you get ---------- */
.mk-features { margin-top: 40px; display: flex; flex-direction: column; gap: 72px; }
.mk-feature { display: flex; flex-direction: column; gap: 32px; align-items: center; }
.mk-feature__text { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.mk-feature__lead { color: var(--muted); font-size: 1.06rem; line-height: 1.55; }
.mk-feature__visual { display: flex; justify-content: center; width: 100%; }
@media (min-width: 900px) {
  .mk-features { margin-top: 72px; gap: 112px; }
  .mk-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; justify-items: center; }
  .mk-feature__text { max-width: 480px; gap: 18px; }
  .mk-feature--flip .mk-feature__text { order: 2; }
  .mk-feature__lead { font-size: 1.18rem; }
}

.mk-disc { position: relative; display: flex; justify-content: center; align-items: center; padding: 20px 0; }
.mk-disc::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(88vw, 440px); aspect-ratio: 1; border-radius: 50%; background: var(--mustard); }
.mk-disc .mk-phone { position: relative; }

.mk-panel { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-align: left; }
.mk-calendar { width: 100%; max-width: 400px; overflow: hidden; display: flex; flex-direction: column; }
.mk-calendar__head { padding: 18px 18px 0; display: flex; justify-content: space-between; align-items: baseline; }
.mk-calendar__title { font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.mk-calendar__range { font-size: 13px; color: var(--muted); }
.mk-calendar__sub {
  margin: 10px 18px 14px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  background: var(--ev-bg); color: var(--ev-ink); font-size: 12px; font-weight: 700;
}
.mk-calendar .mk-calday { padding: 10px 18px; border-top: 1px solid var(--line); }
.mk-calendar .mk-calday:last-child { padding-bottom: 18px; }

.mk-share { width: 100%; max-width: 420px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.mk-share__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mk-share__title { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.mk-seg { display: flex; padding: 3px; border-radius: 10px; background: var(--tile); font-size: 13px; font-weight: 700; }
.mk-seg span { min-height: 34px; padding: 0 12px; border-radius: 8px; display: flex; align-items: center; }
.mk-seg .is-on { background: var(--ink); color: var(--bg); }
.mk-share__body { display: flex; gap: 12px; align-items: flex-start; }
.mk-share__thumb { width: 128px; flex-shrink: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.mk-share__caption { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mk-share__text {
  border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg);
  padding: 8px 10px; font-size: 12px; line-height: 1.4; white-space: pre-line;
}
.mk-share__actions { display: flex; gap: 8px; }
.mk-share__actions .mk-fakebtn { flex: 1 1 0; min-height: 46px; font-size: 15px; }
@media (min-width: 900px) { .mk-share__thumb { width: 150px; } }

.mk-alerts { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.mk-push {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px;
  display: flex; gap: 12px; box-shadow: 0 16px 34px rgba(40, 25, 10, 0.18); transform: rotate(-1.5deg);
}
.mk-push__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 14px; line-height: 1.4; }
.mk-push__top { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
.mk-push__top span { font-size: 12px; color: var(--muted); }
.mk-email { overflow: hidden; }
.mk-email__head { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.mk-email__head span { font-size: 12px; color: var(--muted); }
.mk-email__head b { font-size: 16px; }
.mk-email__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.mk-email__row { display: flex; gap: 10px; align-items: center; }
.mk-email__date { width: 54px; height: 34px; border-radius: 7px; background: var(--tile); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.mk-email__body .mk-fakebtn { margin-top: 4px; }
.mk-email__unsub { font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- Social card (scales with its container) ---------- */
.mk-card { width: 100%; aspect-ratio: 1; container-type: inline-size; }
.mk-card__inner {
  width: 100%; height: 100%; background: var(--cream); color: var(--espresso);
  display: flex; flex-direction: column; overflow: hidden; font-family: var(--font-body);
}
.mk-card__bar { height: 2.5cqw; background: var(--mustard); flex-shrink: 0; }
.mk-card__head { padding: 4.6cqw 5.8cqw 2.9cqw; display: flex; flex-direction: column; gap: 1.7cqw; }
.mk-card__brand { display: flex; align-items: center; gap: 2.1cqw; }
.mk-card__avatar {
  width: 6.7cqw; height: 6.7cqw; border-radius: 50%; background: var(--mustard);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 2.5cqw; flex-shrink: 0;
}
.mk-card__vendor { font-family: var(--font-display); font-weight: 800; font-size: 2.9cqw; letter-spacing: 0.08em; }
.mk-card__week { margin-left: auto; font-size: 2.5cqw; font-weight: 700; letter-spacing: 0.04em; }
.mk-card__title { font-family: var(--font-display); font-weight: 800; font-size: 7.5cqw; line-height: 0.98; letter-spacing: -0.03em; }
.mk-card__rows { padding: 0 5.8cqw; display: flex; flex-direction: column; gap: 1.46cqw; }
.mk-card__row { display: flex; gap: 2.5cqw; align-items: center; }
.mk-card__date {
  width: 11.7cqw; height: 8.75cqw; border-radius: 1.7cqw; background: var(--mustard); flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05;
}
.mk-card__date span { font-size: 2.1cqw; font-weight: 700; letter-spacing: 0.06em; }
.mk-card__date b { font-family: var(--font-display); font-size: 3.75cqw; font-weight: 800; line-height: 1; }
.mk-card__text { display: flex; flex-direction: column; min-width: 0; }
.mk-card__text b { font-size: 3.55cqw; line-height: 1.15; }
.mk-card__text span { font-size: 2.7cqw; line-height: 1.2; }
.mk-card__foot {
  margin-top: auto; background: var(--espresso); color: var(--cream);
  padding: 2.5cqw 5.8cqw; display: flex; justify-content: space-between; align-items: center; gap: 1.7cqw;
}
.mk-card__foot b { font-size: 3.3cqw; }
.mk-card__foot span { font-size: 2.3cqw; }

/* ---------- Showcase ---------- */
.mk-showcase { display: flex; flex-direction: column; gap: 40px; align-items: center; }
.mk-showcase__text { display: flex; flex-direction: column; gap: 22px; }
.mk-post {
  width: 100%; max-width: 480px; background: var(--card); color: var(--ink);
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); text-align: left;
}
.mk-post__head { padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.mk-post__head span:last-child { color: var(--muted); font-size: 13px; }
.mk-post__actions { padding: 12px 14px 4px; display: flex; gap: 16px; }
.mk-post__caption { padding: 4px 14px 16px; font-size: 14px; line-height: 1.45; }
@media (min-width: 1000px) {
  .mk-showcase { flex-direction: row; justify-content: center; gap: 80px; }
  .mk-showcase__text { max-width: 520px; }
  .mk-post { flex: 0 0 480px; }
}

/* ---------- Pricing ---------- */
.mk-plans { margin: 28px auto 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 980px; }
.mk-plan {
  background: var(--card); border: 2px solid var(--line); border-radius: 26px;
  padding: 26px; display: flex; flex-direction: column; gap: 18px;
}
.mk-plan hr { border: 0; height: 1px; background: var(--line); margin: 0; width: 100%; }
.mk-plan__name { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; }
.mk-plan__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mk-plan__top .mk-label { align-self: center; }
.mk-plan__price { display: flex; align-items: baseline; gap: 8px; font-size: 1.06rem; color: var(--muted); }
.mk-plan__price span { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 3rem + 1.2vw, 4.25rem); line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.mk-plan__blurb { color: var(--muted); font-size: 1.06rem; }
.mk-plan__plus { font-weight: 700; }
.mk-plan--pro { background: var(--panel-dark); border-color: color-mix(in srgb, var(--on-dark) 12%, var(--panel-dark)); color: var(--on-dark); }
.mk-plan--pro hr { background: rgba(255, 241, 218, 0.2); }
.mk-plan--pro .mk-plan__price, .mk-plan--pro .mk-plan__blurb { color: var(--on-dark-muted); }
.mk-plan--pro .mk-plan__price span { color: var(--on-dark); }
.mk .mk-trial {
  margin: 20px auto 0; width: fit-content; max-width: 100%;
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px;
  background: var(--soft); font-weight: 700; font-size: 0.95rem;
}
.mk-trial svg { color: var(--hi); flex-shrink: 0; }
@media (min-width: 900px) {
  .mk-plans { margin-top: 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
  .mk-plan { padding: 40px; }
  .mk .mk-trial { font-size: 1.06rem; margin-top: 28px; }
}

/* ---------- FAQ ---------- */
.mk-faq { display: flex; flex-direction: column; gap: 32px; }
.mk-faq .mk-lead a { color: var(--hi); font-weight: 700; }
.mk-faq__list { display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.mk-qa { background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 18px 20px; }
.mk-qa > summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.2;
}
.mk-qa > summary::-webkit-details-marker { display: none; }
.mk-qa > summary::after {
  content: ""; width: 12px; height: 12px; flex-shrink: 0;
  border-right: 3px solid var(--hi); border-bottom: 3px solid var(--hi);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.15s ease;
}
.mk-qa[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.mk-qa p { margin-top: 10px; color: var(--muted); font-size: 1.02rem; line-height: 1.55; }
@media (min-width: 900px) {
  .mk-faq { flex-direction: row; gap: 72px; align-items: flex-start; }
  .mk-faq > .mk-intro { width: 380px; flex-shrink: 0; position: sticky; top: 110px; }
  .mk-qa { padding: 22px 26px; }
  .mk-qa > summary { font-size: 1.5rem; }
  .mk-qa p { font-size: 1.12rem; }
}

/* ---------- Final CTA ---------- */
.mk-cta__band { background: var(--cta-bg); color: var(--cta-fg); padding: 56px 0 64px; }
.mk-cta__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.mk-cta .mk-h2 { max-width: 900px; }
.mk-cta .mk-lead { color: inherit; max-width: 600px; }
.mk-cta .mk-btn--lg { width: 100%; margin-top: 6px; }
.mk-cta__note { font-size: 0.9rem; }
@media (min-width: 640px) { .mk-cta .mk-btn--lg { width: auto; } }
@media (min-width: 900px) { .mk-cta__band { padding: 88px 0 96px; } .mk-cta__inner { gap: 22px; } }

/* ---------- Footer ---------- */
.mk-footer { background: var(--foot-bg); color: var(--foot-ink); padding: 48px 0 40px; }
.mk-footer__top { display: flex; flex-direction: column; gap: 24px; }
.mk-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.mk-footer__brand p { color: var(--foot-muted); max-width: 320px; }
.mk-footer__brand img { height: 48px; width: auto; }
.mk-footer__nav { display: flex; flex-direction: column; }
.mk-footer__nav a { min-height: 44px; display: flex; align-items: center; font-weight: 700; text-decoration: none; }
.mk-footer__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mk-footer__legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 241, 218, 0.16); font-size: 0.88rem; color: var(--foot-muted); }
@media (min-width: 900px) {
  .mk-footer { padding: 64px 0 48px; }
  .mk-footer__top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .mk-footer__nav { flex-direction: row; align-items: center; gap: 28px; }
}

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

/* "Coming soon!" flag for features that are in the spec but not built yet.
   Outlined in currentColor so it reads on both the cream and dark panels,
   and never styled like a button: it isn't one. */
.mk-soon {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 9px;
  border: 1.5px dashed currentColor;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  vertical-align: 1px;
}
.mk-feature__text > .mk-soon { align-self: flex-start; margin-left: 0; }
.mk-plan__top > .mk-soon { align-self: center; }
.mk-plan__soon { font-weight: 700; margin: 0; }

/* Sign-in and get-started (AuthPage.tsx). */
.mk-auth { display: flex; justify-content: center; padding: 40px var(--gutter) 72px; }
.mk-auth__card {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
}
.mk-auth__title { margin: 0; text-align: left; }
.mk-auth__hint { margin: 0; color: var(--muted); line-height: 1.5; }
.mk-auth__form { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.mk-auth__form[hidden] { display: none; }
.mk-auth__label { font-weight: 700; }
.mk-auth__input {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 12px;
  min-height: 52px;
  padding: 0 14px;
}
.mk-auth__input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent); }
.mk-auth__form .mk-btn { border: 0; cursor: pointer; margin-top: 4px; }
.mk-auth__form .mk-btn:disabled { opacity: 0.6; cursor: default; }
.mk-auth__status { margin: 0; font-weight: 700; }
.mk-auth__status:empty { display: none; }
.mk-auth__status--error { color: var(--cancel); }
.mk-auth__switch { margin: 6px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.mk-auth__switch a { color: var(--hi); font-weight: 700; }
@media (min-width: 640px) { .mk-auth { padding-top: 72px; } .mk-auth__card { padding: 40px 36px; } }
.mk-authpage .mk-auth__card > .mk-btn--block { margin-top: 6px; }
.mk-auth__pages { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mk-auth__page {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
}
.mk-auth__page:hover, .mk-auth__page:focus-visible { border-color: var(--brand); }
.mk-auth__page-name { font-weight: 700; font-size: 1.06rem; }
.mk-auth__page-url { color: var(--muted); font-size: 0.94rem; }
