/* FamilyWebsite sales site. A standalone design system (it is not themed per family, so it keeps
   its own tokens here instead of tokens.css). Warm off-white, muted steel blue, one terracotta. */

:root {
  --mk-bg: #faf7f2;
  --mk-bg-2: #f3eee6;
  --mk-surface: #ffffff;
  --mk-ink: #1b242e;
  --mk-text: #2d3742;
  --mk-muted: #59636e;
  --mk-line: #e7e0d5;
  --mk-line-strong: #cfc5b6;
  --mk-field: #8a8378;
  --mk-brand: #4a6d8c;
  --mk-brand-strong: #3b5873;
  --mk-brand-deep: #263a4d;
  --mk-brand-soft: #e6edf3;
  --mk-warm: #a5543a;
  --mk-warm-soft: #f6e8de;
  --mk-honey: #c99a5b;
  --mk-ok: #3e6b52;
  --mk-ok-soft: #e7f0ea;
  --mk-no: #9a4535;
  --mk-no-soft: #f6e7e3;
  --mk-on-dark: #fbf8f3;
  --mk-on-dark-muted: #c9d3dc;
  --mk-bezel: #1f2730;

  --mk-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --mk-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --mk-radius-sm: 10px;
  --mk-radius: 16px;
  --mk-radius-lg: 24px;
  --mk-shadow: 0 1px 2px rgba(38, 33, 26, 0.06), 0 8px 24px rgba(38, 33, 26, 0.07);
  --mk-shadow-lg: 0 2px 6px rgba(38, 33, 26, 0.08), 0 24px 60px rgba(38, 33, 26, 0.16);
  --mk-gutter: 20px;
  --mk-section: clamp(56px, 8vw, 96px);

  /* illustration colours (mockups, placeholder photos, occasion art) */
  --mk-photo-base-a: #b9c7d4;
  --mk-photo-base-b: #7e98af;
  --mk-photo-base-c: #5f7a92;
  --mk-photo-base-sun: #f4e7d2;
  --mk-photo-dusk-a: #e3c6a8;
  --mk-photo-dusk-b: #8c9cb0;
  --mk-photo-dusk-c: #4f6378;
  --mk-photo-dusk-sun: #fbe9cf;
  --mk-photo-sage-a: #d6dccb;
  --mk-photo-sage-b: #9aa78c;
  --mk-photo-sage-c: #66745c;
  --mk-photo-sage-sun: #f7f1df;
  --mk-photo-sand-a: #efe0c6;
  --mk-photo-sand-b: #cfa979;
  --mk-photo-sand-c: #a27648;
  --mk-photo-sand-sun: #fff6e6;
  --mk-photo-steel-a: #cad6e1;
  --mk-photo-steel-b: #86a0b8;
  --mk-photo-steel-c: #4f6c87;
  --mk-photo-steel-sun: #f2f4f6;
  --mk-photo-honey-a: #f1dbb3;
  --mk-photo-honey-b: #d1a165;
  --mk-photo-honey-c: #9b6c35;
  --mk-photo-honey-sun: #fff3da;
  --mk-photo-clay-a: #ecd0c1;
  --mk-photo-clay-b: #c08b72;
  --mk-photo-clay-c: #8e5843;
  --mk-photo-clay-sun: #fbeadf;
  --mk-white: #ffffff;
  --mk-ink-deep: #1b242e;
  --mk-night: #2f4250;
  --mk-moss: #6b7b5e;
  --mk-app-line: #e3e6ea;
  --mk-app-bg: #f3f4f6;
  --mk-wheat-soft: #efe2c8;
  --mk-leaf-bg: #f1e3cc;
  --mk-dot-ring: rgba(0, 0, 0, 0.12);
  --mk-scrim-clear: rgba(10, 14, 20, 0);
  --mk-scrim: rgba(10, 14, 20, 0.6);
  --mk-cover-scrim-clear: rgba(16, 22, 28, 0);
  --mk-cover-scrim: rgba(16, 22, 28, 0.62);
  --mk-glass: rgba(20, 26, 33, 0.35);
  --mk-on-dark-faint: rgba(251, 248, 243, 0.35);
  --mk-on-dark-line: rgba(251, 248, 243, 0.45);
  --mk-bezel-edge: rgba(255, 255, 255, 0.08);
  --mk-glass-line: rgba(255, 255, 255, 0.5);
  --mk-play: rgba(255, 255, 255, 0.85);
  --mk-app-shadow: rgba(31, 41, 51, 0.06);
}

/* --- base -------------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.mk {
  margin: 0;
  background: var(--mk-bg);
  color: var(--mk-text);
  font-family: var(--mk-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 768px) { body.mk { font-size: 18px; } }
.mk img, .mk svg { max-width: 100%; }
:where(.mk) h1, :where(.mk) h2, :where(.mk) h3 { color: var(--mk-ink); margin: 0; }
:where(.mk) p { margin: 0; }
:where(.mk) a { color: var(--mk-brand-strong); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:where(.mk) a:hover { color: var(--mk-ink); }
.mk :focus-visible { outline: 3px solid var(--mk-brand); outline-offset: 3px; border-radius: 4px; }
.mk main:focus { outline: none; }
:where(.mk) ul, :where(.mk) ol { padding: 0; margin: 0; }

.mk-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.mk-skip {
  position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px;
  background: var(--mk-ink); color: var(--mk-on-dark); border-radius: var(--mk-radius-sm);
}
.mk-skip:focus { top: 12px; color: var(--mk-on-dark); }
.mk-nowrap { white-space: nowrap; }

.mk-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--mk-gutter); }
@media (min-width: 768px) { :root { --mk-gutter: 32px; } }
.mk-narrow { max-width: 780px; }
.mk-center { text-align: center; }
.mk-muted { color: var(--mk-muted); }
.mk-caption { color: var(--mk-muted); font-size: 0.85rem; margin-top: 18px; }

.mk-eyebrow {
  font-size: 0.8rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mk-warm); margin-bottom: 14px;
}
.mk-title, .mk-h2, .mk-hero__title, .mk-cta__title, .mk-pricecard__price {
  font-family: var(--mk-serif); font-weight: 600; letter-spacing: -0.012em;
}
.mk-title { font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem); line-height: 1.08; margin-bottom: 18px; }
.mk-h2 { font-size: clamp(1.8rem, 2.4vw + 1rem, 2.7rem); line-height: 1.12; margin-bottom: 18px; text-wrap: balance; }
.mk-lede { font-size: 1.1em; color: var(--mk-muted); max-width: 40em; }
.mk-head { margin-bottom: clamp(32px, 5vw, 56px); }
.mk-head--center { text-align: center; }
.mk-head--center .mk-lede { margin: 0 auto; }

/* --- buttons and chips ---------------------------------------------------------------------- */

.mk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; white-space: nowrap;
}
.mk-btn--primary { background: var(--mk-brand); color: var(--mk-on-dark); }
.mk .mk-btn--primary:hover { background: var(--mk-brand-strong); color: var(--mk-on-dark); }
.mk-btn--ghost { background: transparent; color: var(--mk-brand-strong); border-color: var(--mk-line-strong); }
.mk .mk-btn--ghost:hover { border-color: var(--mk-brand); color: var(--mk-ink); }
.mk-btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.mk-btn--block { width: 100%; }

.mk-chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border-radius: 999px;
  background: var(--mk-surface); border: 1px solid var(--mk-line-strong); color: var(--mk-brand-strong);
  font-size: 0.92rem; font-weight: 600; text-decoration: none;
}
.mk .mk-chip:hover { border-color: var(--mk-brand); color: var(--mk-ink); }

.mk-link-arrow { font-weight: 650; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.mk-link-arrow::after { content: "\2192"; margin-left: 8px; }
.mk .mk-link-arrow:hover { text-decoration: underline; }

/* --- header -------------------------------------------------------------------------------- */

.mk-header {
  position: sticky; top: 0; z-index: 20; background: var(--mk-bg);
  border-bottom: 1px solid var(--mk-line);
}
.mk-header__inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.mk-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.mk-logo__tile { fill: var(--mk-brand); }
.mk-logo__roof { stroke: var(--mk-on-dark); }
.mk-logo__heart { fill: var(--mk-honey); }
.mk-logo__word { font-family: var(--mk-serif); font-size: 1.3rem; font-weight: 600; color: var(--mk-ink); letter-spacing: -0.01em; }
.mk-nav { display: none; }
.mk-nav__list { display: flex; gap: 4px; list-style: none; }
.mk-nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px;
  color: var(--mk-text); text-decoration: none; font-weight: 550; font-size: 0.98rem;
}
.mk .mk-nav__link:hover, .mk .mk-nav__link[aria-current="page"] { color: var(--mk-ink); background: var(--mk-bg-2); }
.mk-header__cta { display: none; min-height: 44px; padding: 8px 18px; }

.mk-menu { position: static; }
.mk-menu__button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--mk-line-strong); border-radius: 999px; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--mk-ink); background: var(--mk-surface);
}
.mk-menu__button::-webkit-details-marker { display: none; }
.mk-menu__bars, .mk-menu__bars::before, .mk-menu__bars::after {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
}
.mk-menu__bars::before, .mk-menu__bars::after { content: ""; position: absolute; left: 0; }
.mk-menu__bars::before { top: -5px; }
.mk-menu__bars::after { top: 5px; }
.mk-menu[open] .mk-menu__bars { background: transparent; }
.mk-menu[open] .mk-menu__bars::before { top: 0; transform: rotate(45deg); }
.mk-menu[open] .mk-menu__bars::after { top: 0; transform: rotate(-45deg); }
.mk-menu__panel {
  position: absolute; left: 0; right: 0; top: 100%; padding: 12px var(--mk-gutter) 24px;
  background: var(--mk-bg); border-bottom: 1px solid var(--mk-line); box-shadow: var(--mk-shadow);
}
.mk-menu__list { list-style: none; margin-bottom: 16px; }
.mk-menu__link {
  display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--mk-line);
  color: var(--mk-ink); text-decoration: none; font-size: 1.1rem; font-weight: 550;
}
@media (min-width: 480px) { .mk-header__cta { display: inline-flex; } }
@media (min-width: 980px) {
  .mk-nav { display: block; }
  .mk-menu { display: none; }
  .mk-logo { margin-right: 12px; }
  .mk-nav { margin-right: auto; }
}

/* --- sections ------------------------------------------------------------------------------ */

.mk-section { padding: var(--mk-section) 0; }
.mk-section--top { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(32px, 5vw, 56px); }
.mk-section--flush { padding-top: 0; }
.mk-section--tint { background: var(--mk-bg-2); }
.mk-panel {
  background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: var(--mk-radius-lg);
  padding: clamp(20px, 4vw, 36px); box-shadow: var(--mk-shadow); margin: 28px 0 20px;
}

/* --- hero ---------------------------------------------------------------------------------- */

.mk-hero {
  padding: clamp(36px, 7vw, 88px) 0 clamp(48px, 6vw, 72px);
  background:
    radial-gradient(60% 50% at 85% 20%, var(--mk-brand-soft) 0%, transparent 70%),
    radial-gradient(45% 35% at 0% 55%, var(--mk-warm-soft) 0%, transparent 70%),
    var(--mk-bg);
}
.mk-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 72px); align-items: center; }
.mk-hero__title { font-size: clamp(2.5rem, 5.4vw + 1rem, 4.4rem); line-height: 1.03; margin-bottom: 22px; text-wrap: balance; }
.mk-hero__sub { font-size: 1.15em; color: var(--mk-muted); max-width: 34em; margin-bottom: 28px; }
.mk-hero__check {
  background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: var(--mk-radius-lg);
  padding: 20px; box-shadow: var(--mk-shadow-lg);
}
.mk-hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin-top: 22px; color: var(--mk-muted); font-size: 0.95rem; }
.mk-hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.mk-hero__facts li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--mk-ok-soft);
  box-shadow: inset 0 0 0 5px var(--mk-ok-soft), inset 0 0 0 9px var(--mk-ok);
}
.mk-hero__visual { margin: 0; display: flex; flex-direction: column; align-items: center; }
.mk-hero__phones { position: relative; width: 100%; max-width: 250px; height: 520px; }
.mk-hero__front, .mk-hero__back { position: absolute; top: 0; }
.mk-hero__front { left: 0; width: 250px; z-index: 2; }
.mk-hero__back { display: none; right: 0; top: 80px; width: 226px; z-index: 1; }
@media (min-width: 560px) {
  .mk-hero__phones { max-width: 470px; height: 560px; }
  .mk-hero__back { display: block; }
}
@media (min-width: 980px) {
  .mk-hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .mk-hero__phones { max-width: 510px; height: 620px; }
  .mk-hero__front { width: 272px; }
  .mk-hero__back { width: 256px; top: 92px; }
}

/* --- domain check -------------------------------------------------------------------------- */

.mk-check__label { display: block; font-weight: 650; color: var(--mk-ink); margin-bottom: 10px; }
.mk-check__row { display: flex; gap: 10px; }
.mk-check__field {
  flex: 1; min-width: 0; display: flex; align-items: center; min-height: 56px;
  background: var(--mk-surface); border: 1.5px solid var(--mk-field); border-radius: 14px; padding-left: 16px;
}
.mk-check__field:focus-within { border-color: var(--mk-brand); box-shadow: 0 0 0 3px var(--mk-brand-soft); }
.mk-check__input {
  flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.1rem;
  color: var(--mk-ink); padding: 12px 0; outline: none;
}
.mk-check__input::placeholder { color: var(--mk-muted); opacity: 0.75; }
.mk-check__dot { color: var(--mk-muted); font-size: 1.15rem; padding: 0 2px 0 4px; }
.mk-check__tld {
  border: 0; border-left: 1px solid var(--mk-line); background: var(--mk-bg-2); font: inherit; font-weight: 650;
  color: var(--mk-ink); align-self: stretch; padding: 0 12px; border-radius: 0 12px 12px 0; cursor: pointer;
  min-width: 72px;
}
.mk-check__tld:focus-visible { outline-offset: -3px; }
.mk-check__go { min-height: 56px; border-radius: 14px; padding: 10px 22px; }
.mk-check__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.mk-check__try { color: var(--mk-muted); font-size: 0.9rem; margin-right: 2px; }
.mk-check__note { color: var(--mk-muted); margin-top: 12px; font-size: 0.95rem; }
.mk-check__result:empty { display: none; }
.mk-check__result { margin-top: 18px; }
.mk-check.is-busy .mk-check__go { opacity: 0.7; cursor: progress; }
@media (max-width: 400px) {
  .mk-check__row { flex-direction: column; }
  .mk-check__go { width: 100%; }
}

.mk-result {
  border-radius: var(--mk-radius); background: var(--mk-bg); border: 1px solid var(--mk-line);
  padding: 18px; display: grid; gap: 12px; justify-items: start;
}
.mk-result__lead { font-size: 1.1rem; font-weight: 600; color: var(--mk-ink); }
.mk-result__domain { overflow-wrap: anywhere; }
.mk-result__fine { color: var(--mk-muted); font-size: 0.95rem; }
.mk-result__error { color: var(--mk-no); font-weight: 600; }
.mk-result__ideas { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.mk-result__others { list-style: none; width: 100%; border-top: 1px solid var(--mk-line); padding-top: 4px; }
.mk-result__row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 48px; border-bottom: 1px solid var(--mk-line); font-size: 0.95rem; }
.mk-result__row:last-child { border-bottom: 0; }
.mk-result__name { font-weight: 600; color: var(--mk-ink); margin-right: auto; overflow-wrap: anywhere; }
.mk-result__status { color: var(--mk-muted); }
.mk-result__row--available .mk-result__status { color: var(--mk-ok); }
.mk-result__link { font-weight: 650; min-height: 44px; display: inline-flex; align-items: center; }

/* --- phone frames and mock screens (illustrations, aria-hidden) ---------------------------------- */

.mk-phone {
  position: relative; width: 100%; aspect-ratio: 9 / 18.5; padding: 9px; border-radius: 40px;
  background: var(--mk-bezel); box-shadow: var(--mk-shadow-lg), inset 0 0 0 1.5px var(--mk-bezel-edge);
}
.mk-phone::before {
  content: ""; position: absolute; z-index: 3; top: 17px; left: 50%; width: 30%; height: 18px;
  transform: translateX(-50%); background: var(--mk-bezel); border-radius: 999px;
}
.mk-phone__screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 32px; background: var(--mk-surface);
  display: flex; flex-direction: column; font-size: 12px; line-height: 1.4; color: var(--mk-text);
}
.mk-phone__screen--app { background: var(--mk-app-bg); padding-top: 34px; }
.mk-phone > *, .mk-phone__screen * { pointer-events: none; }

.mk-photo {
  --a: var(--mk-photo-base-a); --b: var(--mk-photo-base-b); --c: var(--mk-photo-base-c); --sun: var(--mk-photo-base-sun);
  position: relative; display: block; overflow: hidden; background: linear-gradient(165deg, var(--a), var(--b));
}
.mk-photo::before {
  content: ""; position: absolute; width: 26%; aspect-ratio: 1; right: 18%; top: 18%; border-radius: 50%;
  background: var(--sun); opacity: 0.9;
}
.mk-photo::after {
  content: ""; position: absolute; left: -20%; right: -20%; bottom: -45%; height: 80%; border-radius: 50%;
  background: var(--c); opacity: 0.85;
}
.mk-photo--dusk { --a: var(--mk-photo-dusk-a); --b: var(--mk-photo-dusk-b); --c: var(--mk-photo-dusk-c); --sun: var(--mk-photo-dusk-sun); }
.mk-photo--sage { --a: var(--mk-photo-sage-a); --b: var(--mk-photo-sage-b); --c: var(--mk-photo-sage-c); --sun: var(--mk-photo-sage-sun); }
.mk-photo--sand { --a: var(--mk-photo-sand-a); --b: var(--mk-photo-sand-b); --c: var(--mk-photo-sand-c); --sun: var(--mk-photo-sand-sun); }
.mk-photo--steel { --a: var(--mk-photo-steel-a); --b: var(--mk-photo-steel-b); --c: var(--mk-photo-steel-c); --sun: var(--mk-photo-steel-sun); }
.mk-photo--honey { --a: var(--mk-photo-honey-a); --b: var(--mk-photo-honey-b); --c: var(--mk-photo-honey-c); --sun: var(--mk-photo-honey-sun); }
.mk-photo--clay { --a: var(--mk-photo-clay-a); --b: var(--mk-photo-clay-b); --c: var(--mk-photo-clay-c); --sun: var(--mk-photo-clay-sun); }
.mk-photo--video::before {
  width: 30%; right: 35%; top: 35%; background: var(--mk-play); z-index: 2; opacity: 1;
}

.mk-avatar {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px;
  border-radius: 50%; font-weight: 700; font-size: 12px; color: var(--mk-on-dark); background: var(--mk-brand);
}
.mk-avatar--sm { width: 24px; height: 24px; font-size: 10px; }
.mk-avatar--a { background: var(--mk-warm); }
.mk-avatar--b { background: var(--mk-brand); }
.mk-avatar--c { background: var(--mk-moss); }

/* cover */
.mk-mcover { position: relative; flex: 0 0 66%; display: flex; }
.mk-mcover__photo { position: absolute; inset: 0; }
.mk-mcover__photo::after { bottom: -30%; height: 62%; }
.mk-mcover__chrome { position: absolute; z-index: 2; top: 40px; right: 14px; }
.mk-mcover__signin {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 600;
  color: var(--mk-white); background: var(--mk-glass); border: 1px solid var(--mk-glass-line);
}
.mk-mcover__text {
  position: relative; z-index: 2; align-self: flex-end; width: 100%; padding: 60px 16px 18px;
  background: linear-gradient(to top, var(--mk-cover-scrim), var(--mk-cover-scrim-clear));
  display: flex; flex-direction: column; gap: 6px; color: var(--mk-white);
}
.mk-mcover__name { font-family: var(--mk-serif); font-size: 22px; font-weight: 600; line-height: 1.1; }
.mk-mcover__welcome { font-size: 11.5px; opacity: 0.92; }
.mk-mbtn {
  display: inline-flex; align-self: flex-start; align-items: center; justify-content: center; padding: 6px 12px;
  border-radius: 999px; background: var(--mk-brand); color: var(--mk-white); font-size: 10.5px; font-weight: 700;
}
.mk-mbtn--sm { padding: 4px 10px; font-size: 10px; }
.mk-mbtn--block { align-self: stretch; padding: 9px; }
.mk-mcover__text .mk-mbtn { background: var(--mk-white); color: var(--mk-ink); margin-top: 4px; }
.mk-mstrip { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.mk-mstrip__label { font-weight: 700; font-size: 11px; color: var(--mk-ink); }
.mk-mstrip__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mk-mstrip__row .mk-photo { aspect-ratio: 1; border-radius: 8px; }

/* feed */
.mk-mtop {
  display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 10px;
  font-weight: 700; color: var(--mk-ink); font-size: 13px;
}
.mk-mpost {
  display: flex; flex-direction: column; gap: 8px; margin: 0 10px 10px; padding: 12px; background: var(--mk-white);
  border-radius: 12px; box-shadow: 0 1px 2px var(--mk-app-shadow), 0 4px 12px var(--mk-app-shadow);
}
.mk-mpost__head { display: flex; align-items: center; gap: 8px; }
.mk-mpost__who { display: flex; flex-direction: column; line-height: 1.2; }
.mk-mpost__author { font-weight: 700; color: var(--mk-ink); font-size: 11.5px; }
.mk-mpost__date { color: var(--mk-muted); font-size: 10px; }
.mk-mpost__body { font-size: 11.5px; }
.mk-mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mk-mgrid .mk-photo { aspect-ratio: 4 / 5; border-radius: 6px; }
.mk-mgrid--one { grid-template-columns: 1fr; }
.mk-mgrid--one .mk-photo { aspect-ratio: 16 / 9; }
.mk-mpost__social { display: flex; gap: 14px; color: var(--mk-muted); font-size: 10.5px; }
.mk-heart { color: var(--mk-warm); font-weight: 700; }
.mk-mtabs {
  margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px 6px 16px;
  background: var(--mk-white); border-top: 1px solid var(--mk-app-line); font-size: 10px; text-align: center; color: var(--mk-muted);
}
.mk-mtabs .is-on { color: var(--mk-brand); font-weight: 700; }

/* photos page */
.mk-malbum { display: flex; flex-direction: column; padding: 0 14px 10px; }
.mk-malbum__title { font-weight: 700; color: var(--mk-ink); font-size: 12.5px; }
.mk-malbum__meta { color: var(--mk-muted); font-size: 10px; }
.mk-mphotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 0 10px; }
.mk-mphotos .mk-photo { aspect-ratio: 1; border-radius: 4px; }
.mk-mstorage { margin: 14px 10px 0; padding: 10px 12px; background: var(--mk-white); border-radius: 10px; display: flex; flex-direction: column; gap: 6px; }
.mk-mstorage__text { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--mk-muted); }
.mk-mstorage__text span:first-child { color: var(--mk-ink); font-weight: 700; }
.mk-mstorage__bar { height: 7px; border-radius: 999px; background: var(--mk-app-line); overflow: hidden; }
.mk-mstorage__bar span { display: block; width: 24%; height: 100%; background: var(--mk-brand); border-radius: 999px; }

/* cards used outside phones */
.mk-mcard {
  display: flex; background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: var(--mk-radius);
  box-shadow: var(--mk-shadow);
}
.mk-mprivacy { flex-direction: column; gap: 12px; padding: 22px; width: 100%; max-width: 420px; font-size: 0.95rem; }
.mk-mprivacy__title { font-weight: 700; color: var(--mk-ink); font-size: 1.05rem; }
.mk-mchoice { display: flex; gap: 12px; padding: 14px; border: 1.5px solid var(--mk-line); border-radius: 12px; }
.mk-mchoice.is-on { border-color: var(--mk-brand); background: var(--mk-brand-soft); }
.mk-mchoice__radio { flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--mk-field); background: var(--mk-surface); }
.mk-mchoice.is-on .mk-mchoice__radio { border-color: var(--mk-brand); box-shadow: inset 0 0 0 4px var(--mk-surface); background: var(--mk-brand); }
.mk-mchoice__text { display: flex; flex-direction: column; }
.mk-mchoice__name { font-weight: 700; color: var(--mk-ink); }
.mk-mchoice__hint { color: var(--mk-muted); font-size: 0.88rem; }
.mk-mprivacy__foot { display: flex; align-items: center; gap: 8px; color: var(--mk-muted); font-size: 0.88rem; }
.mk-mprivacy__foot svg { flex: none; color: var(--mk-brand); }

.mk-memail { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 420px; }
.mk-memail__row { align-items: center; gap: 14px; padding: 14px 16px; }
.mk-memail__row:nth-child(2) { margin-left: 24px; }
.mk-memail__row .mk-avatar { width: 38px; height: 38px; font-size: 14px; }
.mk-memail__text { display: flex; flex-direction: column; min-width: 0; }
.mk-memail__addr { font-weight: 700; color: var(--mk-ink); overflow-wrap: anywhere; }
.mk-memail__kind { color: var(--mk-muted); font-size: 0.88rem; }

.mk-minvite { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 380px; }
.mk-bubble {
  align-self: flex-start; max-width: 85%; padding: 10px 14px; border-radius: 18px 18px 18px 6px;
  background: var(--mk-surface); border: 1px solid var(--mk-line); font-size: 0.95rem;
}
.mk-bubble--link { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.mk-bubble--link span:last-child { padding: 10px 14px; font-weight: 650; color: var(--mk-ink); }
.mk-bubble__site { padding: 6px 14px; background: var(--mk-brand-soft); color: var(--mk-brand-strong); font-size: 0.8rem; font-weight: 700; }
.mk-mjoin { flex-direction: column; gap: 10px; padding: 20px; margin-top: 8px; }
.mk-mjoin__title { font-family: var(--mk-serif); font-size: 1.25rem; font-weight: 600; color: var(--mk-ink); }
.mk-mfield { display: block; padding: 12px 14px; border: 1.5px solid var(--mk-line-strong); border-radius: 10px; color: var(--mk-muted); font-size: 0.92rem; }
.mk-mjoin .mk-mbtn { font-size: 0.95rem; padding: 12px; margin-top: 4px; }

/* Special Moment card (mirrors moments/detail.html) */
.mk-mmoment {
  display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 440px; margin: 0 auto;
}
.mk-mmoment > div {
  display: flex; flex-direction: column; background: var(--mk-surface); border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius); box-shadow: var(--mk-shadow); overflow: hidden;
}
.mk-mmoment__invite { align-items: center; text-align: center; padding-bottom: 20px; gap: 4px; }
.mk-mmoment__band { display: grid; grid-template-columns: repeat(5, 1fr); height: 56px; width: 100%; margin-bottom: 14px; }
.mk-mmoment__band span:nth-child(1) { background: var(--mk-warm-soft); }
.mk-mmoment__band span:nth-child(2) { background: var(--mk-brand-soft); }
.mk-mmoment__band span:nth-child(3) { background: var(--mk-wheat-soft); }
.mk-mmoment__band span:nth-child(4) { background: var(--mk-warm-soft); }
.mk-mmoment__band span:nth-child(5) { background: var(--mk-brand-soft); }
.mk-mmoment__band span { position: relative; }
.mk-mmoment__band span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%;
  background: var(--mk-honey); opacity: 0.8;
}
.mk-mmoment__band span:nth-child(even)::after { background: var(--mk-brand); width: 7px; height: 7px; margin: -3.5px; top: 30%; }
.mk-mmoment__eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mk-warm); }
.mk-mmoment__title { font-family: var(--mk-serif); font-size: 1.55rem; font-weight: 600; color: var(--mk-ink); line-height: 1.15; padding: 0 16px; }
.mk-mmoment__rule { width: 40px; height: 2px; background: var(--mk-honey); margin: 6px 0; }
.mk-mmoment__date { font-weight: 650; color: var(--mk-ink); }
.mk-mmoment__where { color: var(--mk-muted); font-size: 0.95rem; }
.mk-mmoment__pill { margin-top: 8px; padding: 4px 12px; border-radius: 999px; background: var(--mk-brand-soft); color: var(--mk-brand-strong); font-weight: 700; font-size: 0.85rem; }
.mk-mmoment__rsvp, .mk-mmoment__wishes { padding: 16px 18px; gap: 10px; }
.mk-mmoment__label { font-weight: 700; color: var(--mk-ink); }
.mk-mmoment__choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mk-mmoment__choices span { padding: 9px 4px; border: 1.5px solid var(--mk-line); border-radius: 10px; text-align: center; font-size: 0.88rem; font-weight: 600; }
.mk-mmoment__choices .is-on { border-color: var(--mk-ok); background: var(--mk-ok-soft); color: var(--mk-ok); }
.mk-mmoment__count { color: var(--mk-muted); font-size: 0.88rem; }
.mk-wish { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: var(--mk-bg); border-radius: 12px; font-size: 0.92rem; }

/* --- steps --------------------------------------------------------------------------------- */

.mk-steps__list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; counter-reset: none; }
.mk-step {
  position: relative; background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: var(--mk-radius-lg);
  padding: 28px 26px; box-shadow: var(--mk-shadow);
}
.mk-step__num {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--mk-brand-soft); color: var(--mk-brand-strong); font-family: var(--mk-serif); font-size: 1.35rem; font-weight: 600;
  margin-bottom: 18px;
}
.mk-step__title { font-family: var(--mk-serif); font-size: 1.45rem; font-weight: 600; margin-bottom: 8px; }
.mk-step__text { color: var(--mk-muted); }
.mk-steps .mk-center { margin-top: 28px; }
@media (min-width: 860px) { .mk-steps__list { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* --- feature rows -------------------------------------------------------------------------- */

.mk-feature__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.mk-feature__visual { display: flex; justify-content: center; }
.mk-feature__visual .mk-phone { max-width: 280px; }
.mk-feature__visual--soft {
  padding: clamp(24px, 5vw, 48px); border-radius: var(--mk-radius-lg);
  background: linear-gradient(160deg, var(--mk-brand-soft), var(--mk-warm-soft));
}
.mk-section--tint .mk-feature__visual--soft { background: linear-gradient(160deg, var(--mk-surface), var(--mk-brand-soft)); }
@media (min-width: 900px) {
  .mk-feature__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mk-feature--flip .mk-feature__copy { order: 2; }
}
.mk-checks { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.mk-checks li { position: relative; padding-left: 34px; }
.mk-checks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--mk-brand-soft);
}
.mk-checks li::after {
  content: ""; position: absolute; left: 7px; top: calc(0.2em + 5px); width: 6px; height: 10px;
  border: solid var(--mk-brand-strong); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.mk-points { list-style: none; display: grid; gap: 18px; margin-top: 24px; }
.mk-points li { padding-left: 18px; border-left: 3px solid var(--mk-honey); }
.mk-points strong { color: var(--mk-ink); display: block; font-size: 1.05em; }
.mk-feature__copy .mk-muted { margin-top: 16px; }
.mk-feature__copy .mk-btn { margin-top: 24px; }

/* --- Special Moments mosaic ------------------------------------------------------------------ */

.mk-moments__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 960px) { .mk-moments__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; } }
.mk-mosaic { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .mk-mosaic { grid-template-columns: repeat(4, 1fr); } }
.mk-mosaic__tile {
  display: flex; flex-direction: column; background: var(--mk-surface); border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius); overflow: hidden; box-shadow: var(--mk-shadow);
}
.mk-mosaic__art { display: block; height: 92px; background-color: var(--mk-bg-2); }
.mk-mosaic__name { padding: 10px 12px 12px; font-family: var(--mk-serif); font-weight: 600; color: var(--mk-ink); font-size: 1.05rem; line-height: 1.2; }
.mk-decor--dots .mk-mosaic__art {
  background-color: var(--mk-warm-soft);
  background-image: radial-gradient(circle, var(--mk-warm) 2.5px, transparent 3px);
  background-size: 18px 18px;
}
.mk-decor--stars .mk-mosaic__art {
  background-color: var(--mk-brand-deep);
  background-image:
    radial-gradient(circle, var(--mk-honey) 2px, transparent 2.5px),
    radial-gradient(circle, var(--mk-on-dark) 1.2px, transparent 1.6px);
  background-size: 34px 30px, 22px 26px; background-position: 4px 6px, 14px 16px;
}
.mk-decor--candles .mk-mosaic__art {
  background-color: var(--mk-brand-soft);
  background-image:
    radial-gradient(ellipse 3.5px 7px at 50% 34%, var(--mk-honey) 90%, transparent 100%),
    linear-gradient(to right, transparent 9px, var(--mk-surface) 9px, var(--mk-surface) 15px, transparent 15px);
  background-size: 24px 100%, 24px 52%;
  background-position: 0 0, 0 100%;
  background-repeat: repeat-x, repeat-x;
}
.mk-decor--lanterns .mk-mosaic__art {
  background-color: var(--mk-brand-deep);
  background-image:
    radial-gradient(ellipse 9px 12px at 50% 55%, var(--mk-warm) 92%, transparent 100%),
    linear-gradient(to right, transparent calc(50% - 0.5px), var(--mk-on-dark-faint) calc(50% - 0.5px), var(--mk-on-dark-faint) calc(50% + 0.5px), transparent calc(50% + 0.5px));
  background-size: 34px 100%, 34px 50%;
  background-repeat: repeat-x, repeat-x;
}
.mk-decor--leaves .mk-mosaic__art {
  background-color: var(--mk-leaf-bg);
  background-image:
    radial-gradient(ellipse 7px 12px at 30% 40%, var(--mk-warm) 90%, transparent 100%),
    radial-gradient(ellipse 7px 12px at 70% 70%, var(--mk-honey) 90%, transparent 100%);
  background-size: 30px 30px, 30px 30px;
}
.mk-decor--rings .mk-mosaic__art {
  background-color: var(--mk-bg-2);
  background-image:
    radial-gradient(circle at 43% 50%, transparent 17px, var(--mk-honey) 18px, var(--mk-honey) 20.5px, transparent 21.5px),
    radial-gradient(circle at 57% 50%, transparent 17px, var(--mk-brand) 18px, var(--mk-brand) 20.5px, transparent 21.5px);
}
.mk-decor--confetti .mk-mosaic__art, .mk-decor--blossoms .mk-mosaic__art, .mk-decor--plain .mk-mosaic__art, .mk-decor--waves .mk-mosaic__art {
  background-color: var(--mk-brand-soft);
  background-image: radial-gradient(circle, var(--mk-brand) 2px, transparent 2.5px);
  background-size: 24px 24px;
}

/* --- template previews (registry tokens arrive inline on .mk-tpl) ------------------------------- */

.mk-tpl {
  display: flex; flex-direction: column; overflow: hidden; background: var(--bg); color: var(--text);
  font-family: var(--font-body); border: 1px solid var(--mk-line-strong); border-radius: 18px;
  box-shadow: var(--mk-shadow); aspect-ratio: 4 / 3.3; font-size: 12px; line-height: 1.3;
}
.mk-tpl * { pointer-events: none; }
.mk-tpl__cover { position: relative; display: flex; flex: 0 0 58%; }
.mk-tpl__photo {
  position: relative; display: block; overflow: hidden; flex: 1;
  background: linear-gradient(165deg, var(--accent-soft), var(--accent));
}
.mk-tpl__sun { position: absolute; width: 18%; aspect-ratio: 1; right: 16%; top: 16%; border-radius: 50%; background: var(--surface); opacity: 0.75; }
.mk-tpl__hill { position: absolute; left: -15%; right: -15%; bottom: -55%; height: 90%; border-radius: 50%; background: var(--accent-strong); opacity: 0.9; }
.mk-tpl__titles { display: flex; flex-direction: column; gap: 4px; }
.mk-tpl__name {
  font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking);
  font-size: 1.55em; line-height: 1.05; color: var(--text-strong);
}
.mk-tpl__welcome { color: var(--muted); font-size: 0.95em; }
.mk-tpl__button {
  align-self: flex-start; margin-top: 4px; padding: 3px 9px; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 0.8em;
}
/* hero: words over the photo */
.mk-tpl--hero .mk-tpl__titles {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px;
  background: linear-gradient(to top, var(--mk-scrim), var(--mk-scrim-clear));
}
.mk-tpl--hero .mk-tpl__name, .mk-tpl--hero .mk-tpl__welcome { color: var(--mk-white); }
.mk-tpl--hero .mk-tpl__button { background: var(--mk-white); color: var(--mk-ink-deep); }
/* split: photo left, words right */
.mk-tpl--split .mk-tpl__cover { background: var(--surface); }
.mk-tpl--split .mk-tpl__titles { flex: 0 0 48%; justify-content: center; padding: 12px; border-left: 1px solid var(--line); }
/* framed: a mat around the photo, words below */
.mk-tpl--framed .mk-tpl__cover { flex-direction: column; flex-basis: 62%; background: var(--surface); padding: 10px 10px 6px; }
.mk-tpl--framed .mk-tpl__photo { border-radius: var(--radius-sm); }
.mk-tpl--framed .mk-tpl__titles { align-items: center; text-align: center; padding-top: 8px; }
.mk-tpl--framed .mk-tpl__button { display: none; }
.mk-tpl--framed .mk-tpl__name { font-size: 1.3em; }
.mk-tpl__feed { flex: 1; padding: 10px; display: flex; }
.mk-tpl__card {
  flex: 1; display: flex; flex-direction: column; gap: 5px; padding: 9px; background: var(--surface);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.mk-tpl--outlined .mk-tpl__card { border: 1px solid var(--line-strong); }
.mk-tpl--flat .mk-tpl__card { border: 1px solid var(--line); }
.mk-tpl__who { display: flex; align-items: center; gap: 6px; }
.mk-tpl__avatar { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.mk-tpl__line { display: block; height: 5px; border-radius: 3px; background: var(--line-strong); }
.mk-tpl__line--name { width: 38%; background: var(--text-strong); opacity: 0.7; }
.mk-tpl__line--short { width: 62%; }
.mk-tpl__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; flex: 1; min-height: 12px; }
.mk-tpl__pics span { border-radius: var(--radius-sm); background: var(--accent-soft); }
.mk-tpl__pics span:last-child { background: var(--surface-2); border: 1px solid var(--line); }

/* switcher (home) */
.mk-switch__list { list-style: none; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.mk-switch__caption { margin-top: 12px; color: var(--mk-muted); font-size: 0.95rem; }
.mk-switch__caption strong { color: var(--mk-ink); }
.mk-switch__tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 20px; scrollbar-width: thin; }
.mk-switch__tabs[hidden] { display: none; }
.mk-switch__tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px 6px 8px;
  border-radius: 999px; border: 1.5px solid var(--mk-line-strong); background: var(--mk-surface); color: var(--mk-ink);
  font: inherit; font-size: 0.95rem; font-weight: 600; cursor: pointer;
}
.mk-switch__tab[aria-pressed="true"] { border-color: var(--mk-brand); background: var(--mk-brand-soft); }
.mk-switch__swatch { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid; }
.mk-switch__swatch span { width: 10px; height: 10px; border-radius: 50%; }
.mk-switch.is-enhanced .mk-switch__list { display: block; max-width: 620px; margin: 0 auto; }
.mk-switch.is-enhanced .mk-switch__item { display: none; }
.mk-switch.is-enhanced .mk-switch__item.is-current { display: block; }
.mk-switch.is-enhanced .mk-tpl { font-size: clamp(12px, 2.2vw, 16px); box-shadow: var(--mk-shadow-lg); }
.mk-switch.is-enhanced .mk-switch__caption { text-align: center; font-size: 1rem; }
.mk-templates .mk-center { margin-top: 24px; }
@media (min-width: 980px) { .mk-switch__tabs { justify-content: center; flex-wrap: wrap; overflow: visible; } }

/* gallery (templates page) */
.mk-gallery { list-style: none; display: grid; gap: 40px 28px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (min-width: 1100px) { .mk-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; } }
.mk-gallery__name { font-family: var(--mk-serif); font-size: 1.5rem; font-weight: 600; margin: 18px 0 6px; }
.mk-gallery__text { color: var(--mk-muted); }
.mk-dots { list-style: none; display: flex; gap: 8px; margin-top: 12px; }
.mk-dots__dot { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--mk-dot-ring); }

/* --- more features tiles ----------------------------------------------------------------------- */

.mk-tiles { list-style: none; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.mk-tile { background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: var(--mk-radius-lg); padding: 26px; }
.mk-tile__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--mk-brand-soft); color: var(--mk-brand-strong); margin-bottom: 16px;
}
.mk-tile__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mk-tile__title { font-family: var(--mk-serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; }
.mk-tile__text { color: var(--mk-muted); font-size: 0.97rem; }

/* --- coming next ------------------------------------------------------------------------------- */

.mk-next { padding: clamp(36px, 5vw, 56px) 0; }
.mk-next__inner {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: clamp(22px, 4vw, 36px); border: 1.5px dashed var(--mk-line-strong);
  border-radius: var(--mk-radius-lg);
}
.mk-next__title { font-family: var(--mk-serif); font-size: 1.5rem; font-weight: 600; }
.mk-next__note { color: var(--mk-muted); font-size: 0.95rem; margin-top: 4px; }
.mk-next__list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.mk-next__item { padding: 8px 14px; border-radius: 999px; background: var(--mk-bg-2); color: var(--mk-muted); font-size: 0.92rem; font-weight: 600; }
@media (min-width: 900px) { .mk-next__inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; } }

/* --- price ------------------------------------------------------------------------------------- */

.mk-pricecard {
  display: grid; max-width: 980px; margin: 0 auto; background: var(--mk-surface); border: 1px solid var(--mk-line);
  border-radius: 28px; box-shadow: var(--mk-shadow-lg); overflow: hidden;
}
.mk-pricecard__main { padding: clamp(28px, 5vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.mk-pricecard__price { font-size: clamp(2.8rem, 5vw + 1rem, 4rem); line-height: 1; }
.mk-pricecard__includes { color: var(--mk-muted); font-size: 1.05em; margin-bottom: 10px; }
.mk-pricecard__fine { color: var(--mk-muted); font-size: 0.9rem; }
.mk-pricecard__list { padding: clamp(28px, 5vw, 48px); background: var(--mk-bg-2); }
.mk-pricecard__list .mk-checks { margin-top: 0; }
.mk-pricecard__extra { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--mk-line-strong); color: var(--mk-text); font-weight: 600; }
@media (min-width: 860px) { .mk-pricecard { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* --- FAQ --------------------------------------------------------------------------------------- */

.mk-faq { display: grid; gap: 10px; }
.mk-faq__item { background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: var(--mk-radius); }
.mk-faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px;
  cursor: pointer; list-style: none; font-weight: 650; color: var(--mk-ink); font-size: 1.05em;
}
.mk-faq__q::-webkit-details-marker { display: none; }
.mk-faq__q::after {
  content: "+"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--mk-brand-soft); color: var(--mk-brand-strong); font-size: 1.2rem; font-weight: 500;
}
.mk-faq__item[open] .mk-faq__q::after { content: "\2212"; }
.mk-faq__a { padding: 0 20px 20px; color: var(--mk-muted); }
.mk-faq-group + .mk-faq-group { margin-top: 44px; }
.mk-faq-group__title { font-family: var(--mk-serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 16px; }
.mk-section--tint .mk-faq { margin-bottom: 24px; }

/* --- CTA band ---------------------------------------------------------------------------------- */

.mk-cta { background: var(--mk-brand-deep); color: var(--mk-on-dark); padding: clamp(64px, 9vw, 112px) 0; text-align: center; }
.mk-cta__inner { max-width: 820px; }
.mk-cta__title { color: var(--mk-on-dark); font-size: clamp(2rem, 3vw + 1rem, 3rem); line-height: 1.1; margin-bottom: 16px; text-wrap: balance; }
.mk .mk-cta__title { color: var(--mk-on-dark); }
.mk-cta__text { color: var(--mk-on-dark-muted); font-size: 1.1em; max-width: 36em; margin: 0 auto 30px; }
.mk-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.mk-cta .mk-btn--primary { background: var(--mk-on-dark); color: var(--mk-brand-deep); }
.mk .mk-cta .mk-btn--primary:hover { background: var(--mk-surface); color: var(--mk-ink); }
.mk-cta .mk-btn--ghost { color: var(--mk-on-dark); border-color: var(--mk-on-dark-line); }
.mk .mk-cta .mk-btn--ghost:hover { color: var(--mk-on-dark); border-color: var(--mk-on-dark); }
.mk-cta :focus-visible { outline-color: var(--mk-on-dark); }

/* --- timeline and prose -------------------------------------------------------------------------- */

.mk-timeline { list-style: none; counter-reset: mk-step; display: grid; gap: 18px; margin: 8px 0 24px; }
.mk-timeline li { counter-increment: mk-step; position: relative; padding-left: 52px; min-height: 36px; }
.mk-timeline li::before {
  content: counter(mk-step); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; background: var(--mk-surface);
  border: 1.5px solid var(--mk-line-strong); color: var(--mk-brand-strong); font-weight: 700; font-size: 0.95rem;
}
.mk-timeline strong { color: var(--mk-ink); }
.mk-timeline--compact { margin-top: 28px; gap: 14px; }
.mk-prose h2 { font-family: var(--mk-serif); font-size: 1.55rem; font-weight: 600; margin: 40px 0 12px; }
.mk-prose h3 { font-size: 1.1rem; margin: 28px 0 8px; }
.mk-prose p + p { margin-top: 12px; }
.mk-prose ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 8px; }
.mk-prose .mk-h2 { margin-top: 0; }
.mk-draft {
  display: inline-block; margin-bottom: 20px; padding: 10px 16px; border-radius: var(--mk-radius-sm);
  background: var(--mk-warm-soft); color: var(--mk-no); font-weight: 700; border: 1px solid var(--mk-line-strong);
}

/* --- reserve form -------------------------------------------------------------------------------- */

.mk-reserve { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 960px) { .mk-reserve { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; } .mk-reserve .mk-panel { margin-top: 0; } }
.mk-form { display: grid; gap: 22px; }
.mk-field { display: grid; gap: 8px; }
.mk-field__label { font-weight: 650; color: var(--mk-ink); }
.mk-field__opt { font-weight: 400; color: var(--mk-muted); }
.mk-field input[type="text"]:not(.mk-check__input), .mk-field input[type="email"], .mk-field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--mk-field); border-radius: 12px;
  background: var(--mk-surface); color: var(--mk-ink); font: inherit; font-size: 1.02rem;
}
.mk-field textarea { min-height: 120px; resize: vertical; }
.mk-field input:focus, .mk-field textarea:focus { outline: none; border-color: var(--mk-brand); box-shadow: 0 0 0 3px var(--mk-brand-soft); }
.mk-field [aria-invalid="true"] { border-color: var(--mk-no); }
.mk-field__help { color: var(--mk-muted); font-size: 0.9rem; }
.mk-field__error { color: var(--mk-no); font-weight: 600; font-size: 0.95rem; }
.mk-alert { padding: 12px 16px; border-radius: 12px; background: var(--mk-no-soft); color: var(--mk-no); font-weight: 600; }
.mk-form__fine { color: var(--mk-muted); font-size: 0.88rem; }
.mk-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.mk-thanks__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--mk-ok-soft); color: var(--mk-ok); margin-bottom: 22px;
}

/* --- footer -------------------------------------------------------------------------------------- */

.mk-footer { background: var(--mk-bg); border-top: 1px solid var(--mk-line); padding: 56px 0 28px; font-size: 0.95rem; }
.mk-footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mk-footer__brand { grid-column: 1 / -1; display: grid; gap: 8px; max-width: 30em; align-content: start; }
.mk-footer__word { font-family: var(--mk-serif); font-size: 1.3rem; font-weight: 600; color: var(--mk-ink); }
.mk-footer__line, .mk-footer__contact { color: var(--mk-muted); }
.mk-footer__email { color: var(--mk-ink); font-weight: 600; white-space: nowrap; }
.mk-footer__title { font-weight: 700; color: var(--mk-ink); margin-bottom: 8px; }
.mk-footer__col ul { list-style: none; }
.mk-footer__col a { display: inline-flex; align-items: center; min-height: 40px; color: var(--mk-muted); text-decoration: none; }
.mk .mk-footer__col a:hover { color: var(--mk-ink); text-decoration: underline; }
.mk-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--mk-line); color: var(--mk-muted); font-size: 0.88rem;
}
@media (min-width: 860px) {
  .mk-footer__grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
  .mk-footer__brand { grid-column: auto; }
}

/* --- motion (only for people who haven't asked for less) --------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .mk-btn, .mk-chip, .mk-nav__link, .mk-switch__tab, .mk-check__field { transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease; }
  .mk-menu__bars, .mk-menu__bars::before, .mk-menu__bars::after { transition: transform 0.2s ease, background-color 0.2s ease, top 0.2s ease; }
  .mk-switch.is-enhanced .mk-switch__item.is-current { animation: mk-fade 0.32s ease both; }
  .mk-result { animation: mk-rise 0.28s ease both; }
}
@keyframes mk-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mk-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* --- per-occasion art in the mosaic (each one distinct; decor classes above are the fallback) -------- */

.mk-kind--diwali .mk-mosaic__art {
  background-color: var(--mk-brand-deep);
  background-image:
    radial-gradient(ellipse 3.5px 6px at 50% 46%, var(--mk-honey) 90%, transparent 100%),
    radial-gradient(ellipse 9px 5px at 50% 70%, var(--mk-warm) 90%, transparent 100%);
  background-size: 30px 100%, 30px 100%;
  background-repeat: repeat-x, repeat-x;
}
.mk-kind--hanukkah .mk-mosaic__art {
  background-color: var(--mk-brand-soft);
  background-image:
    radial-gradient(ellipse 3px 6px at 50% 30%, var(--mk-honey) 90%, transparent 100%),
    linear-gradient(to right, transparent 9px, var(--mk-brand) 9px, var(--mk-brand) 14px, transparent 14px);
  background-size: 23px 100%, 23px 56%;
  background-position: 0 0, 0 100%;
  background-repeat: repeat-x, repeat-x;
}
.mk-kind--eid_al_fitr .mk-mosaic__art {
  background-color: var(--mk-night);
  background-image:
    radial-gradient(circle at 54% 42%, var(--mk-night) 19px, transparent 19.5px),
    radial-gradient(circle at 48% 50%, var(--mk-honey) 22px, transparent 22.5px),
    radial-gradient(circle, var(--mk-on-dark) 1.2px, transparent 1.6px);
  background-size: 100% 100%, 100% 100%, 28px 24px;
  background-position: 0 0, 0 0, 6px 4px;
}
.mk-kind--lunar_new_year .mk-mosaic__art {
  background-color: var(--mk-warm-soft);
  background-image:
    radial-gradient(ellipse 11px 13px at 50% 58%, var(--mk-no) 92%, transparent 100%),
    linear-gradient(to right, transparent calc(50% - 1px), var(--mk-honey) calc(50% - 1px), var(--mk-honey) calc(50% + 1px), transparent calc(50% + 1px));
  background-size: 40px 100%, 40px 45%;
  background-repeat: repeat-x, repeat-x;
}

@media (max-width: 599px) {
  .mk-feature__visual--soft { padding: 18px 14px; }
  .mk-memail__row { padding: 12px; gap: 10px; }
  .mk-memail__row:nth-child(2) { margin-left: 0; }
  .mk-memail__row .mk-avatar { width: 32px; height: 32px; font-size: 12px; }
  .mk-memail__addr { font-size: 0.9rem; overflow-wrap: normal; word-break: normal; }
  .mk-tile { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 20px; }
  .mk-tile__icon { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .mk-tile__title { font-size: 1.2rem; margin: 6px 0 4px; }
}

/* --- captions under the illustrations -------------------------------------------------------- */

.mk-feature__visual, .mk-moments__card { margin: 0; }
.mk-feature__visual { flex-direction: column; align-items: center; }
.mk-feature__visual .mk-caption, .mk-moments__card .mk-caption { text-align: center; }
