:root {
  --mm-green: #1C8938;
  --mm-green-dark: #10662A;
  --mm-purple: #390A5D;
  --mm-bg: #f3f8f4;
  --mm-card: #ffffff;
  --mm-border: #d5e6da;
  --mm-muted: #5b6b60;
  --mm-text: #1a2a20;
}
* { box-sizing: border-box; }
body.mm-careers {
  margin: 0;
  font-family: Nunito, system-ui, sans-serif;
  color: var(--mm-text);
  background:
    radial-gradient(ellipse at top left, rgba(28,137,56,.10), transparent 45%),
    radial-gradient(ellipse at bottom right, rgba(57,10,93,.06), transparent 40%),
    #fff;
  min-height: 100vh;
}
/* Site fixed header clearance (same as main pages) */
.mm-c-main {
  padding: 110px 0 48px;
  min-height: 60vh;
}
.mm-c-wrap { width: min(1100px, 92%); margin: 0 auto; }
.mm-c-wrap--form { width: min(960px, 94%); }

.mm-c-hero h1 {
  font-family: Poppins, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--mm-purple); margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.mm-c-hero p { color: var(--mm-muted); margin: 0 0 20px; max-width: 640px; }
.mm-c-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.mm-c-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 18px; border-radius: 10px;
  text-decoration: none; font-weight: 800; border: none; cursor: pointer; font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.mm-c-btn:hover { transform: translateY(-1px); text-decoration: none; }
.mm-c-btn-primary {
  background: linear-gradient(180deg, #22a045 0%, var(--mm-green) 100%);
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(28,137,56,.22);
}
.mm-c-btn-secondary {
  background: #fff; color: var(--mm-purple) !important;
  border: 1px solid #c9b6dc;
}
.mm-c-btn-block { width: 100%; padding: 14px 18px; font-size: 1rem; }

.mm-c-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px;
}
.mm-c-card {
  background: var(--mm-card); border: 1px solid var(--mm-border);
  border-radius: 16px; padding: 22px 24px;
  box-shadow: 0 10px 28px rgba(16,102,42,.06);
}
.mm-c-card h2 {
  margin: 0 0 8px; color: var(--mm-green-dark); font-size: 1.15rem;
  font-family: Poppins, sans-serif;
}
.mm-c-card h2.mm-c-section {
  color: var(--mm-purple);
  font-size: 1.05rem;
  margin: 8px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8ffea;
}
.mm-c-card p { margin: 0 0 12px; color: var(--mm-muted); font-size: .92rem; line-height: 1.45; }
.mm-c-meta { font-size: .8rem; color: var(--mm-muted); margin-bottom: 12px; }

/* Premium form — 2 column on desktop */
.mm-c-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-bottom: 4px;
}
.mm-c-form-grid .mm-c-span-2 { grid-column: 1 / -1; }
.mm-c-field { margin-bottom: 0; }
.mm-c-field label {
  display: block; font-weight: 700; margin-bottom: 6px;
  font-size: .82rem; color: var(--mm-muted); letter-spacing: .02em;
}
.mm-c-field input,
.mm-c-field select,
.mm-c-field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--mm-border);
  border-radius: 11px; font: inherit; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mm-c-field input:focus,
.mm-c-field select:focus,
.mm-c-field textarea:focus {
  outline: none;
  border-color: var(--mm-green);
  box-shadow: 0 0 0 3px rgba(28,137,56,.14);
}
.mm-c-skills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 12px;
  margin-bottom: 4px;
}
.mm-c-skills label {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9rem; color: var(--mm-text);
  background: #f7faf8; border: 1px solid var(--mm-border);
  border-radius: 10px; padding: 10px 12px; margin: 0; cursor: pointer;
}
.mm-c-skills input { width: auto; margin: 0; }

.mm-c-alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; }
.mm-c-alert-ok { background: #e8f7ec; color: var(--mm-green-dark); border: 1px solid #c8ebd1; }
.mm-c-alert-err { background: #fdecea; color: #8a1c1c; border: 1px solid #f5c8c8; }

.mm-c-chat {
  max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--mm-border);
  border-radius: 16px; padding: 16px; min-height: 420px; display: flex; flex-direction: column;
}
.mm-c-chat-log { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.mm-c-bubble { max-width: 90%; padding: 10px 12px; border-radius: 12px; line-height: 1.4; font-size: .95rem; }
.mm-c-bubble.bot { background: #eef8f0; align-self: flex-start; }
.mm-c-bubble.user { background: #efe8f5; align-self: flex-end; color: var(--mm-purple); }
.mm-c-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.mm-c-choices button {
  background: #fff; border: 1px solid var(--mm-green); color: var(--mm-green-dark);
  border-radius: 999px; padding: 8px 14px; font-weight: 700; cursor: pointer;
}

/* Keep site navbar look; careers pages shouldn't hide Life at MM */
body.mm-careers #header .logo img { max-height: 52px; }

@media (max-width: 900px) {
  .mm-c-skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .mm-c-main { padding-top: 90px; }
  .mm-c-form-grid { grid-template-columns: 1fr; }
  .mm-c-skills { grid-template-columns: 1fr; }
  .mm-c-card { padding: 16px; }
}
