.m-home {
  --home-ink: var(--mozo-wordmark-ink);
  --home-muted: #5e6058;
  --home-line: #deded8;
  --home-media-canvas: #464256;
}

.m-home > main {
  color: var(--home-ink);
}

.m-home .mh-hero {
  display: grid;
  justify-items: center;
  padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 102px);
}

.m-home .mh-hero h1 {
  width: 100%;
  margin: clamp(28px, 3.6vw, 51px) 0 clamp(22px, 3vw, 42px);
  color: var(--home-ink);
  font: 400 clamp(36px, 4.4vw, 64px)/1.22 var(--ed-serif, serif);
  text-align: center;
  text-wrap: balance;
}

.mozo-marketing .mh-film {
  width: min(100%, 400px);
  padding: 7px;
  border-radius: 19px;
  background: var(--home-media-canvas);
}

.mh-film-player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 13px;
  background: #e5e1eb;
}

.mh-film-player video {
  display: block;
  width: 100%;
  height: 100%;
}

.mh-film-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.mh-film-play > .ui-icon {
  display: block;
  width: 54px;
  height: 54px;
  padding: 14px;
  border-radius: 50%;
  background: rgb(55 53 74 / 88%);
  color: white;
}

.mh-film-play:is(:hover, :focus-visible) > .ui-icon {
  background: var(--home-ink);
}

.mh-film-play:focus-visible { outline: 2px solid var(--home-ink); outline-offset: -4px; }

.mh-composer {
  width: min(100%, 660px);
  padding: 12px 14px;
  border: 1px solid #dedce4;
  border-radius: 19px;
  background: #fff;
}

.mh-composer:focus-within { border-color: #a09cae; }

.mh-composer textarea {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 4px 6px;
  border: 0;
  border-radius: 10px;
  outline: none;
  background: transparent;
  color: var(--home-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
  resize: vertical;
}

.mh-composer textarea::placeholder { color: #6d6a7a; }
.mh-composer textarea:focus-visible { box-shadow: 0 0 0 2px #57556b45; }
.mh-composer-error { padding: 0 6px 7px; color: #8f3844; font-size: 14px; }

.mh-composer-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.mh-composer-actions > button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--home-ink);
  cursor: pointer;
}

.mh-composer-actions .ui-icon { width: 21px; height: 21px; }
.mh-composer-actions .mh-composer-attach { background: #f1f0f4; }
.mh-composer-actions .mh-composer-send { background: var(--home-ink); color: #fff; }
.mh-composer-attach:is(:hover, :active) { background: #e6e4ed; }
.mh-composer-send:enabled:is(:hover, :active) { background: #eeeaf5; color: var(--home-ink); }
.mh-composer-actions .mh-composer-send:disabled { background: #eeedf1; color: #797687; cursor: default; }

.m-home .mh-capabilities-link,
.m-home .mh-example-copy .m-link-arrow {
  min-height: 44px;
  color: var(--home-ink);
  gap: 9px;
  font-size: 14px;
}

.m-home .mh-capabilities-link {
  margin-top: 7px;
}

.mh-example {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 6vw, 88px);
  border-top: 1px solid var(--home-line);
  padding-block: clamp(34px, 5vw, 65px) clamp(50px, 7vw, 90px);
}

.m-home .mh-example-copy h2 {
  font-size: clamp(26px, 3.1vw, 40px);
  font-weight: 400;
  line-height: 1.3;
}

.m-home .mh-example-copy p {
  max-width: 29em;
  margin: 12px 0 6px;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.8;
}

.mh-brand-photo {
  overflow: hidden;
  border: 7px solid var(--home-media-canvas);
  border-radius: 20px;
}

.mh-brand-photo > img {
  display: block;
  width: 100%;
  max-height: 290px;
  height: auto;
  aspect-ratio: 1.8;
  border-radius: 13px;
  object-fit: cover;
  object-position: 50% 56%;
}

@media (prefers-reduced-motion: no-preference) {
  .mh-brand-photo > img { transition: transform 200ms ease; }
  .mh-brand-photo:is(:hover, :active) > img { transform: scale(1.015); }
}

.mh-example-visual > figcaption {
  margin-top: 7px;
  color: var(--home-muted);
  font-size: 12px;
}

@media (max-width: 680px) {
  .mozo-marketing .mh-film { width: min(100%, 312px); }
  .mh-example { grid-template-columns: minmax(0, 1fr); }
}
