.mozo-marketing .msol {
  --msol-ink: var(--mozo-wordmark-ink);
  --msol-muted: #555550;
  --msol-preview-surface: #ebe4da;
  --msol-line: #d8d7d2;
  width: min(1120px, calc(100% - 72px));
  margin-inline: auto;
  padding-block: clamp(44px, 7vw, 91px) clamp(66px, 9vw, 120px);
  color: var(--msol-ink);
}

.mozo-marketing .msol :is(h1, h2, p, figure) { margin: 0; }

.mozo-marketing .msol h1,
.mozo-marketing .msol h2 {
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.19;
  text-wrap: balance;
}

.mozo-marketing .msol h1 { font-size: clamp(44px, 6.3vw, 82px); }
.mozo-marketing .msol h2 { font-size: clamp(28px, 3.3vw, 44px); }

.mozo-marketing .msol p {
  color: var(--msol-muted);
  font-size: 16px;
  line-height: 1.75;
}

.msol-hero {
  max-width: 650px;
  margin-inline: auto;
  text-align: center;
}

.msol-hero > .m-button { margin-top: 24px; }

.msol-guide { margin-top: clamp(42px, 7vw, 92px); }
.msol-guide [id] { scroll-margin-top: 104px; }

.msol-picker {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 11px;
  margin-bottom: clamp(22px, 4vw, 42px);
}

.mozo-marketing .msol-picker > button {
  min-height: 44px;
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--msol-muted);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.mozo-marketing .msol-picker > button:is([aria-pressed="true"], :hover, :active) {
  background: #e9e9e6;
  color: var(--msol-ink);
}

.msol-picker > button:focus-visible { outline: 2px solid var(--msol-ink); outline-offset: 3px; }

.msol-scenario {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  grid-template-rows: 1fr 1fr;
  column-gap: clamp(26px, 5.4vw, 78px);
}

.msol-scenario-copy {
  grid-area: 1 / 1;
  align-self: end;
}

.mozo-marketing .msol-scenario-copy > p { max-width: 28em; margin-top: 15px; }

.msol-scenario-actions {
  grid-area: 2 / 1;
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  column-gap: 20px;
  margin-top: 10px;
}

.mozo-marketing .msol-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--msol-ink);
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: var(--msol-line);
  text-underline-offset: .3em;
}

.mozo-marketing .msol-text-link:hover { text-decoration-color: currentColor; }
.msol-text-link:focus-visible { outline: 2px solid var(--msol-ink); outline-offset: 4px; }

.msol-scenario-preview {
  grid-area: 1 / 2 / span 2;
  min-width: 0;
}

.msol-canvas {
  display: grid;
  align-items: center;
  min-height: clamp(240px, 29vw, 410px);
  padding: clamp(24px, 4.6vw, 58px);
  border-radius: 12px;
  background: var(--msol-preview-surface);
}

.msol-sheet {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #fffdf9;
  box-shadow: 0 4px 14px #40382c0d;
}

.msol-image { overflow: hidden; aspect-ratio: 16 / 10; }

.msol-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.msol-sheet-copy {
  display: grid;
  gap: 4px;
  padding: clamp(13px, 2.2vw, 24px);
}

.msol-sheet-copy > strong { font-size: clamp(16px, 1.8vw, 25px); font-weight: 400; line-height: 1.35; }
.msol-sheet-copy > small { color: var(--msol-muted); font-size: 12px; line-height: 1.5; }

.msol-sample-lines {
  display: grid;
  margin: 0;
  padding: 0 clamp(13px, 2.2vw, 24px) 14px;
  font-size: 13px;
  line-height: 1.5;
}

.msol-sample-lines > div {
  display: grid;
  grid-template-columns: 4em minmax(0, 1fr);
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid var(--msol-line);
}

.msol-sample-lines dt { font-weight: 650; }
.msol-sample-lines dd { margin: 0; color: var(--msol-muted); }

.msol-example {
  margin-top: 9px;
  color: var(--msol-muted);
  font-size: 13px;
  line-height: 1.5;
}

.msol-close {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px 40px;
  margin-top: clamp(58px, 9vw, 108px);
  padding-top: clamp(26px, 4vw, 42px);
  border-top: 1px solid var(--msol-line);
}

.mozo-marketing .msol-close p { max-width: 30em; margin-top: 12px; }
.msol-close-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 21px; }

@media (prefers-reduced-motion: no-preference) {
  .msol-image > img { transition: transform 260ms ease; }
  .msol-image:active > img { transform: scale(1.035); }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .msol-image:hover > img { transform: scale(1.035); }
}

@media (max-width: 720px) {
  .mozo-marketing .msol { width: calc(100% - 36px); }
  .msol-scenario, .msol-close { grid-template-columns: minmax(0, 1fr); }
  .msol-scenario { grid-template-rows: auto; row-gap: 16px; }
  .msol-scenario :is(.msol-scenario-copy, .msol-scenario-preview, .msol-scenario-actions) { grid-area: auto; }
  .msol-scenario-actions { margin-top: 0; }
  .msol-canvas { min-height: 0; }
}

@media (max-width: 410px) {
  .msol-picker { gap: 3px 5px; }
  .mozo-marketing .msol-picker > button { padding-inline: 8px; font-size: 13px; }
}
