:root {
  --mk-brand: #D4AF37;
  --mk-brand-dark: #B8962E;
  --mk-brand-rgb: 212, 175, 55;
  --mk-radius: 1rem;
  --mk-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html:not([data-mk-ready]) body { opacity: 0.999; }

.mk-accent { color: var(--mk-brand); }
.mk-bg     { background-color: var(--mk-brand); }
.mk-border { border-color: var(--mk-brand); }
.mk-ring   { box-shadow: 0 0 0 3px rgba(var(--mk-brand-rgb), 0.35); }

.mk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.75rem; border-radius: 999px;
  font-weight: 600; letter-spacing: .01em; line-height: 1;
  background: var(--mk-brand); color: #fff;
  border: 1px solid transparent;
  transition: transform .2s var(--mk-ease), box-shadow .2s var(--mk-ease), background-color .2s var(--mk-ease);
  box-shadow: 0 8px 24px -12px rgba(var(--mk-brand-rgb), .9);
  text-decoration: none; cursor: pointer;
}
.mk-btn:hover  { background: var(--mk-brand-dark); transform: translateY(-2px); }
.mk-btn:active { transform: translateY(0) scale(.98); }

.mk-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.75rem; border-radius: 999px;
  font-weight: 600; line-height: 1;
  background: transparent; color: var(--mk-brand);
  border: 1px solid currentColor;
  transition: background-color .2s var(--mk-ease), transform .2s var(--mk-ease);
  text-decoration: none; cursor: pointer;
}
.mk-btn-ghost:hover { background: rgba(var(--mk-brand-rgb), .10); transform: translateY(-2px); }

.mk-empty { display: none !important; }

.mk-md-only { display: none; }
@media (min-width: 768px) { .mk-md-only { display: inline-flex; } }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--mk-brand);
  outline-offset: 2px;
  border-radius: 6px;
}

.mk-hero-media { position: absolute; inset: 0; overflow: hidden; }
.mk-hero-media img, .mk-hero-media video {
  width: 100%; height: 100%; object-fit: cover;
}
.mk-hero-media video { position: absolute; inset: 0; }

#mk-bot-popup {
  transform-origin: bottom right;
  transition: transform .28s var(--mk-ease), opacity .28s var(--mk-ease);
}

.mk-grid-3 { display: grid; gap: 1.5rem; grid-template-columns: repeat(1, minmax(0, 1fr)); }
.mk-grid-4 { display: grid; gap: 1.25rem; grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) {
  .mk-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .mk-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .mk-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

body { overflow-x: hidden; }
.mk-scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.mk-faq summary::-webkit-details-marker { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  #mk-bot-demo, #mk-bot-popup, .mk-menu, nav, video { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
}
