:root {
  --mxn-bg: #f7f6f2;
  --mxn-surface: #ffffff;
  --mxn-surface-soft: #f0efe9;
  --mxn-ink: #14171c;
  --mxn-muted: #686b70;
  --mxn-border: #dcdad2;
  --mxn-border-strong: #cbc7bc;
  --mxn-accent: #8b6a3e;
  --mxn-accent-dark: #684c2b;
  --mxn-shadow: 0 18px 55px rgba(23, 25, 28, 0.08);
  --mxn-radius-sm: 10px;
  --mxn-radius-md: 18px;
  --mxn-radius-lg: 28px;
  --mxn-max: 1180px;
  --mxn-serif: Georgia, "Times New Roman", Times, serif;
  --mxn-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--mxn-bg);
  color: var(--mxn-ink);
  font-family: var(--mxn-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.mxn-shell {
  width: min(var(--mxn-max), calc(100% - 40px));
  margin-inline: auto;
}

.mxn-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--mxn-border);
}

.mxn-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.mxn-brand img {
  width: 224px;
  height: auto;
}

.mxn-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mxn-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--mxn-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease, background-color 160ms ease;
}

.mxn-nav a:hover {
  color: var(--mxn-ink);
  background: rgba(255, 255, 255, 0.72);
}

.mxn-eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mxn-accent-dark);
}

.mxn-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.mxn-button--primary {
  background: var(--mxn-ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 23, 28, 0.13);
}

.mxn-button--primary:hover {
  background: #25292f;
  box-shadow: 0 14px 30px rgba(20, 23, 28, 0.17);
}

.mxn-button--secondary {
  color: var(--mxn-ink);
  background: var(--mxn-surface);
  border-color: var(--mxn-border);
}

.mxn-button--secondary:hover {
  border-color: var(--mxn-border-strong);
}

.mxn-footer {
  border-top: 1px solid var(--mxn-border);
  padding: 25px 0 34px;
  color: var(--mxn-muted);
  font-size: 13px;
}

.mxn-footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.mxn-footer a {
  text-decoration: none;
}

.mxn-footer a:hover {
  color: var(--mxn-ink);
}

@media (max-width: 720px) {
  .mxn-shell {
    width: min(100% - 28px, var(--mxn-max));
  }

  .mxn-header {
    min-height: 76px;
  }

  .mxn-brand img {
    width: 184px;
  }

  .mxn-nav .nav-optional {
    display: none;
  }

  .mxn-footer-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

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