:root {
  --mm-red: #e31c23;
  --mm-yellow: #f5c518;
  --mm-blue: #1a6ddb;
  --mm-ink: #161616;
  --mm-muted: #525252;
  --mm-line: #e0e0e0;
  --mm-bg: #f4f4f4;
  --mm-white: #ffffff;
  --mm-footer: #0b0b0b;
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-body-font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --bs-body-color: var(--mm-ink);
  --bs-body-bg: var(--mm-white);
  --bs-primary: var(--mm-red);
  --bs-link-color: var(--mm-blue);
  --bs-link-hover-color: #0f4fa8;
}

*,
*::before,
*::after {
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: scroll;
}

body {
  color: var(--mm-ink);
  background: var(--mm-white);
  font-weight: 400;
  overflow: visible;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6, p, a, td, th {
  overflow-wrap: anywhere;
}

a {
  text-decoration: none;
}

.navbar-mm {
  background: var(--mm-white);
  border-bottom: 1px solid var(--mm-line);
  padding: 0.4rem 0;
  z-index: 1040;
}

.navbar-mm .nav-link {
  color: var(--mm-ink);
  font-size: 0.95rem;
  font-weight: 400;
  padding: 0.65rem 0.9rem !important;
  background: none;
  border: 0;
}

.navbar-mm .nav-link:hover,
.navbar-mm .nav-link.active,
.nav-item.mega.is-open .mega-toggle {
  color: var(--mm-blue);
}

.mega-caret {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.2rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-item.mega {
  position: static;
}

.mega-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--mm-white);
  border-top: 1px solid var(--mm-line);
  box-shadow: 0 18px 40px rgba(22, 22, 22, 0.12);
  padding: 2rem 0 2.25rem;
}

.nav-item.mega.is-open .mega-panel {
  display: block;
}

.mega-lead h2 {
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.mega-lead-link,
.link-ibm {
  color: var(--mm-blue);
  font-weight: 400;
}

.mega-lead-link:hover,
.link-ibm:hover {
  text-decoration: underline;
}

.mega-item {
  display: block;
  padding: 0.7rem 0;
  color: var(--mm-ink);
}

.mega-item strong {
  display: block;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.mega-item span {
  display: block;
  color: var(--mm-muted);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.35;
}

.mega-item:hover strong {
  color: var(--mm-blue);
}

.nav-dim {
  position: fixed;
  inset: 0;
  background: rgba(22, 22, 22, 0.45);
  z-index: 1030;
}

.nav-dim.is-on {
  display: block;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.btn {
  font-weight: 400;
  letter-spacing: 0;
  padding: 0.65rem 1.1rem;
}

.btn-primary,
.btn-mm {
  background: var(--mm-red);
  border-color: var(--mm-red);
  color: #fff;
}

.btn-primary:hover,
.btn-mm:hover {
  background: #c4141a;
  border-color: #c4141a;
  color: #fff;
}

.btn-outline-dark {
  border-width: 1px;
}

.btn-yellow {
  background: var(--mm-yellow);
  border-color: var(--mm-yellow);
  color: var(--mm-ink);
}

.btn-yellow:hover {
  background: #e0b400;
  color: var(--mm-ink);
}

.hero {
  padding: 3.25rem 0 2.75rem;
}

.hero-media {
  width: 100%;
  min-height: 260px;
  max-height: 380px;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

.eyebrow {
  color: var(--mm-blue);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-title,
.page-title {
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.12;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}

.lead-mm {
  color: var(--mm-muted);
  font-size: 1.05rem;
  font-weight: 400;
  max-width: 38rem;
}

.section {
  padding: 3.25rem 0;
}

.section-tight {
  padding: 2.75rem 0;
}

.section-alt {
  background: var(--mm-bg);
}

.section-dark {
  background: var(--mm-ink);
  color: #fff;
}

.section-dark .lead-mm,
.section-dark p {
  color: #c6c6c6;
}

.section-title {
  font-weight: 300;
  letter-spacing: -0.02em;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.card-mm {
  background: var(--mm-white);
  border: 1px solid var(--mm-line);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease;
}

.card-mm:hover {
  border-color: var(--mm-ink);
}

.card-mm img.cover,
.cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.cover-sm {
  height: 150px;
}

.card-mm .body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.body-sm {
  padding: 0.9rem 1rem 1.05rem !important;
}

.card-mm h3 {
  font-size: 1.05rem;
  font-weight: 400;
}

.metric {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--mm-red);
  line-height: 1;
}

.metric-label {
  color: var(--mm-muted);
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

.section-dark .metric {
  color: var(--mm-yellow);
}

.section-dark .metric-label {
  color: #a8a8a8;
}

.split-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.page-hero {
  padding: 2.5rem 0 2rem;
  background: var(--mm-bg);
  border-bottom: 1px solid var(--mm-line);
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.footer-mm {
  background: var(--mm-footer);
  color: #c6c6c6;
  padding: 3.5rem 0 1.5rem;
  font-size: 0.92rem;
}

.footer-mm a {
  color: #c6c6c6;
}

.footer-mm a:hover {
  color: #fff;
}

.footer-mm .btn-yellow,
.footer-mm .btn-yellow:hover {
  color: #000;
}

.footer-mm h6 {
  color: #fff;
  font-weight: 400;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 48px;
}

.form-control,
.form-select {
  border: 1px solid #8d8d8d;
  padding: 0.7rem 0.85rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--mm-blue);
  box-shadow: 0 0 0 1px var(--mm-blue);
}

.step-card,
.info-row {
  border: 1px solid var(--mm-line);
  padding: 1.15rem 1.2rem;
  height: 100%;
  background: var(--mm-white);
}

.step-num {
  display: block;
  color: var(--mm-blue);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.step-card h3,
.info-row h3 {
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.step-card p,
.info-row p {
  color: var(--mm-muted);
  margin: 0;
  font-size: 0.92rem;
}

.rule,
.rule-blue,
.rule-yellow {
  display: none;
}

.list-sharp {
  padding-left: 1.1rem;
}

.list-sharp li {
  margin-bottom: 0.45rem;
}

.navbar-toggler {
  border: 1px solid var(--mm-line);
}

.brand-stripe {
  height: 3px;
  background: linear-gradient(90deg, var(--mm-red) 0 34%, var(--mm-yellow) 34% 66%, var(--mm-blue) 66%);
}

.nav-icon-btn {
  background: none;
  border: 1px solid var(--mm-line);
  color: var(--mm-ink);
  padding: 0.45rem 0.75rem;
  font-weight: 400;
}

.news-strip {
  border-top: 1px solid var(--mm-line);
  border-bottom: 1px solid var(--mm-line);
  padding: 0.85rem 0;
  font-size: 0.92rem;
  overflow: hidden;
}

.news-strip .container > div {
  flex-wrap: wrap;
}

.ticket-demo,
.ticket-card {
  max-width: 100%;
}

.station-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.station {
  border: 1px solid var(--mm-line);
  padding: 0.55rem 0.75rem;
  flex: 1 1 6.5rem;
  min-width: 0;
}

.news-strip a {
  color: var(--mm-ink);
}

.news-strip a:hover {
  color: var(--mm-blue);
}

.ticket-chip {
  border: 1px solid var(--mm-line);
  background: #fff;
  padding: 0.4rem 0.85rem;
  font-weight: 400;
}

.ticket-chip.is-on {
  border-color: var(--mm-ink);
  background: var(--mm-ink);
  color: #fff;
}

.ticket-card {
  border: 1px solid var(--mm-line);
  padding: 1.25rem;
  background: #fff;
}

.station span {
  display: block;
  font-size: 0.75rem;
  color: var(--mm-muted);
}

.station strong {
  font-weight: 400;
}

.sku-card {
  margin: 0;
  border: 1px solid var(--mm-line);
  height: 100%;
}

.sku-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.sku-card figcaption {
  padding: 0.65rem 0.75rem 0.8rem;
}

.sku-card code {
  display: block;
  font-size: 0.72rem;
  color: var(--mm-blue);
}

.sku-card span {
  display: block;
  font-size: 0.88rem;
}

.sku-card em {
  font-style: normal;
  color: var(--mm-muted);
  font-size: 0.8rem;
}

.compare-table {
  font-size: 0.92rem;
  width: 100%;
}

.compare-table th,
.compare-table td {
  overflow-wrap: anywhere;
}

.compare-table th {
  font-weight: 400;
}

.compare-table thead th {
  border-bottom: 1px solid var(--mm-ink);
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--mm-line);
  border: 1px solid var(--mm-line);
}

.arch-cell {
  background: #fff;
  padding: 1.15rem;
  color: var(--mm-ink);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.arch-cell:hover {
  background: var(--mm-bg);
}

.arch-cell span:last-child {
  color: var(--mm-muted);
  font-size: 0.88rem;
  margin-top: auto;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1060;
  background: rgba(22, 22, 22, 0.45);
  display: none;
}

.search-overlay.is-open {
  display: block;
}

.search-panel {
  background: #fff;
  padding: 1.5rem 0 2rem;
  border-bottom: 1px solid var(--mm-line);
}

.search-hit {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--mm-line);
  color: var(--mm-ink);
}

.search-hit span {
  display: block;
  color: var(--mm-muted);
  font-size: 0.88rem;
}

@media (max-width: 767.98px) {
  .arch-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(11, 11, 11, 0.72);
  display: none;
  align-items: stretch;
  justify-content: stretch;
}

.consent-overlay.is-open {
  display: flex;
  overflow-y: auto;
}

body.consent-locked {
  overflow-x: hidden;
  overflow-y: auto;
}

.consent-panel {
  background: var(--mm-white);
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 1.25rem 7.5rem;
}

.consent-panel-inner {
  max-width: 42rem;
  margin: 0 auto;
  width: 100%;
}

.consent-logo {
  height: 56px;
  width: auto;
  margin-bottom: 1.5rem;
}

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1085;
  background: var(--mm-ink);
  color: #fff;
  border-top: 3px solid var(--mm-yellow);
  padding: 1rem 0;
  display: none;
}

.cookie-bar.is-open {
  display: block;
}

.cookie-bar p {
  color: #c6c6c6;
  margin: 0;
  font-size: 0.92rem;
}

.privacy-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  max-height: min(82vh, 640px);
  background: var(--mm-white);
  border-top: 3px solid var(--mm-red);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(110%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.privacy-sheet.is-open {
  transform: translateY(0);
}

.privacy-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--mm-line);
}

.privacy-sheet-body {
  overflow: auto;
  padding: 1.25rem 1.25rem 2rem;
}

.privacy-sheet-body h2 {
  font-size: 1.15rem;
  margin-top: 1.25rem;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.65rem 0;
  font-size: 0.95rem;
}

.consent-check input {
  margin-top: 0.25rem;
  accent-color: var(--mm-red);
}

@media (max-width: 991.98px) {
  .mega-panel {
    position: static;
    box-shadow: none;
    border-top: 0;
    padding: 0 0 0.5rem;
  }

  .nav-dim {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 2.25rem 0 1.75rem;
  }

  .card-mm img.cover,
  .cover,
  .cover-sm,
  .gallery img {
    height: 160px;
  }

  .section,
  .section-tight {
    padding: 2.25rem 0;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table tr {
    border-bottom: 1px solid var(--mm-line);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
  }

  .table-responsive {
    overflow: visible;
  }

  .cookie-bar .d-flex {
    flex-wrap: wrap;
  }
}
