.mm-home { background: var(--mm-canvas); }

.home-section {
  padding: 104px 0;
  border-top: 1px solid var(--mm-line);
}

.home-section-soft { background: var(--mm-soft); }
.home-section-dark { color: #fff; background: #111a20; }

.home-hero {
  min-height: 690px;
  padding: 84px 0 72px;
  background: #f7f9f8;
  overflow: hidden;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 72px;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: #344149;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--mm-blue);
}

.home-hero h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: 60px;
  line-height: 1.06;
  font-weight: 700;
}

.home-hero-copy {
  max-width: 600px;
  margin-bottom: 32px;
  color: #53616a;
  font-size: 19px;
  line-height: 1.65;
}

.home-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.home-actions .btn { padding: 13px 18px; }

.home-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: #68747b;
  font-size: 13px;
  font-weight: 600;
}

.home-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.home-trust .material-symbols-outlined {
  color: var(--mm-green);
  font-size: 17px;
}

.catalog-stage {
  position: relative;
  min-width: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid #d7dee1;
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(18, 27, 34, 0.13);
}

.catalog-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 2px 13px;
}

.catalog-stage-title {
  color: #344149;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-stage-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mm-green);
  font-size: 12px;
  font-weight: 700;
}

.catalog-stage-status::before {
  content: "";
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
}

.catalog-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.catalog-image {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #edf1f2;
  border-radius: 6px;
}

.catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-image-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 9px;
  color: #fff;
  background: rgba(18, 27, 34, 0.82);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.catalog-image-after .catalog-image-label { background: rgba(31, 143, 106, 0.92); }

.catalog-stage-note {
  position: absolute;
  right: -18px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 220px;
  padding: 13px 15px;
  color: #344149;
  background: #fff;
  border: 1px solid #d7dee1;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(18, 27, 34, 0.12);
  font-size: 12px;
  font-weight: 650;
}

.catalog-stage-note .material-symbols-outlined {
  color: var(--mm-violet);
  font-size: 20px;
}

.integration-band {
  padding: 22px 0;
  background: #fff;
  border-top: 1px solid var(--mm-line);
  border-bottom: 1px solid var(--mm-line);
}

.integration-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 40px;
}

.integration-label {
  margin: 0;
  color: #647078;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.integration-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(80px, 1fr));
  align-items: center;
  gap: 22px;
}

.integration-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 34px;
  opacity: 0.72;
}

.integration-logo img { max-width: 118px; max-height: 28px; object-fit: contain; }

.integration-wordmark {
  color: #344149;
  font-size: 19px;
  font-weight: 700;
}

.home-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 52px;
}

.home-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--mm-blue-dark);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.home-section-heading h2,
.workflow-copy h2,
.feed-copy h2,
.creative-heading h2,
.home-cta h2 {
  margin-bottom: 0;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 700;
}

.home-section-heading p {
  align-self: end;
  margin: 0;
  color: #5b6870;
  font-size: 17px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.product-tile {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 26px;
  color: var(--mm-ink);
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-tile:hover {
  color: var(--mm-ink);
  border-color: #aebac0;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-tile-logo { height: 30px; width: auto; max-width: 150px; object-fit: contain; object-position: left center; }

.product-tile-line {
  width: 42px;
  height: 3px;
  margin: 26px 0 22px;
  background: var(--product-color);
}

.product-tile h3 { margin-bottom: 10px; font-size: 20px; font-weight: 700; }
.product-tile p { margin-bottom: 26px; color: #5e6a72; font-size: 14px; line-height: 1.65; }

.product-tile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: #344149;
  font-size: 13px;
  font-weight: 700;
}

.product-tile-link .material-symbols-outlined { font-size: 17px; }
.product-list { --product-color: var(--mm-green); }
.product-feed { --product-color: var(--mm-blue); }
.product-ads { --product-color: var(--mm-orange); }
.product-media { --product-color: var(--mm-violet); }

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 92px;
}

.workflow-copy h2 { margin-bottom: 22px; }
.workflow-copy > p { max-width: 530px; margin-bottom: 38px; font-size: 17px; }

.workflow-steps { list-style: none; counter-reset: workflow; }

.workflow-step {
  position: relative;
  padding: 22px 0 22px 48px;
  border-top: 1px solid #d7dee1;
  counter-increment: workflow;
}

.workflow-step:last-child { border-bottom: 1px solid #d7dee1; }

.workflow-step::before {
  content: "0" counter(workflow);
  position: absolute;
  top: 24px;
  left: 0;
  color: var(--mm-blue-dark);
  font-size: 12px;
  font-weight: 750;
}

.workflow-step h3 { margin-bottom: 5px; font-size: 17px; font-weight: 700; }
.workflow-step p { margin: 0; font-size: 14px; line-height: 1.55; }

.workflow-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.workflow-shot {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #dfe5e6;
  border-radius: 8px;
}

.workflow-shot:first-child { grid-row: 1 / 3; aspect-ratio: 4 / 5; }
.workflow-shot:not(:first-child) { aspect-ratio: 1 / 1; }

.workflow-shot img { width: 100%; height: 100%; object-fit: cover; }

.workflow-shot-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 9px;
  color: #fff;
  background: rgba(18,27,34,0.78);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  align-items: center;
  gap: 92px;
}

.feed-copy h2 { margin-bottom: 22px; color: #fff; }
.feed-copy p { max-width: 530px; margin-bottom: 28px; color: rgba(255,255,255,0.64); font-size: 17px; }

.feed-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-weight: 700;
}

.feed-link:hover { color: #7ac7e4; }
.feed-link .material-symbols-outlined { font-size: 18px; }

.feed-panel {
  padding: 14px;
  background: #f7f9f8;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
}

.feed-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 5px 15px;
}

.feed-panel-head strong { color: #344149; font-size: 13px; }
.feed-panel-head span { color: var(--mm-green); font-size: 12px; font-weight: 700; }

.feed-state-list { background: #fff; border: 1px solid #dfe5e8; border-radius: 6px; }

.feed-state {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 12px 16px;
}

.feed-state + .feed-state { border-top: 1px solid #e7ebed; }

.feed-state-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--mm-blue-dark);
  background: #eaf4f8;
  border-radius: 6px;
}

.feed-state-icon .material-symbols-outlined { font-size: 18px; }
.feed-state strong { display: block; margin-bottom: 2px; font-size: 13px; }
.feed-state small { display: block; color: #748087; font-size: 11px; }

.feed-state-badge {
  padding: 5px 7px;
  color: var(--mm-green);
  background: #eaf6f1;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.creative-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.creative-heading h2 { max-width: 680px; }
.creative-heading .btn { flex: 0 0 auto; }

.creative-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.creative-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e5e9ea;
  border-radius: 8px;
}

.creative-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.creative-item:hover img { transform: scale(1.025); }

.creative-item span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(18,27,34,0.82);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.home-cta-band { padding: 30px 0 104px; background: var(--mm-canvas); }

.home-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
  padding: 58px 64px;
  color: #fff;
  background: var(--mm-blue-dark);
  border-radius: 8px;
}

.home-cta h2 { max-width: 700px; color: #fff; }
.home-cta p { max-width: 620px; margin: 16px 0 0; color: rgba(255,255,255,0.70); font-size: 16px; }
.home-cta .btn { color: var(--mm-ink) !important; background: #fff !important; border-color: #fff !important; white-space: nowrap; }

@media (max-width: 1100px) {
  .home-hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(450px, 1.08fr); gap: 48px; }
  .home-hero h1 { font-size: 52px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-tile { min-height: 260px; }
  .workflow-layout, .feed-layout { gap: 56px; }
}

@media (max-width: 900px) {
  .home-section { padding: 80px 0; }
  .home-hero { padding: 68px 0 64px; }
  .home-hero-grid, .workflow-layout, .feed-layout { grid-template-columns: 1fr; }
  .home-hero-grid { gap: 48px; }
  .home-hero-copy { max-width: 680px; }
  .catalog-stage { max-width: 700px; }
  .home-section-heading { grid-template-columns: 1fr; gap: 18px; }
  .home-section-heading p { max-width: 620px; }
  .workflow-layout, .feed-layout { gap: 48px; }
  .workflow-gallery { max-width: 720px; }
  .feed-panel { max-width: 700px; }
  .home-cta { grid-template-columns: 1fr; }
  .home-cta .btn { justify-self: start; }
}

@media (max-width: 768px) {
  .home-hero h1 { font-size: 43px; }
  .home-section-heading h2, .workflow-copy h2, .feed-copy h2, .creative-heading h2, .home-cta h2 { font-size: 36px; }
  .integration-inner { grid-template-columns: 1fr; gap: 16px; }
  .integration-logos { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .creative-heading { align-items: flex-start; flex-direction: column; }
  .creative-grid { grid-template-columns: 1fr 1fr; }
  .creative-item:last-child { display: none; }
  .home-cta { padding: 44px 36px; }
}

@media (max-width: 560px) {
  .home-section { padding: 68px 0; }
  .home-hero { min-height: 0; padding: 54px 0 52px; }
  .home-hero h1 { font-size: 38px; }
  .home-hero-copy { font-size: 17px; }
  .home-actions { align-items: stretch; flex-direction: column; }
  .home-actions .btn { justify-content: center; width: 100%; }
  .home-trust { gap: 10px 18px; }
  .catalog-stage { padding: 9px; }
  .catalog-stage-note { display: none; }
  .catalog-image-label { left: 8px; bottom: 8px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-tile { min-height: 0; }
  .workflow-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .workflow-shot:first-child { grid-row: auto; grid-column: 1 / 3; aspect-ratio: 4 / 3; }
  .feed-state { grid-template-columns: 32px 1fr; }
  .feed-state-badge { display: none; }
  .creative-grid { grid-template-columns: 1fr; }
  .creative-item:last-child { display: block; }
  .home-cta-band { padding-bottom: 68px; }
  .home-cta { padding: 36px 24px; }
  .home-cta .btn { justify-content: center; width: 100%; }
}
