.mac-handoff {
  margin: 24px auto 0;
  max-width: 640px;
  color: var(--text, var(--ink, #151817));
  text-align: center;
  letter-spacing: 0;
}

.mac-handoff [hidden] {
  display: none !important;
}

.mac-handoff-heading {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.mac-handoff-reason {
  max-width: 430px;
  margin: 8px auto 16px;
  color: var(--text-secondary, var(--muted, #5c6561));
  font-size: 16px;
  line-height: 1.5;
}

.mac-handoff-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.mac-handoff-button {
  min-height: 48px;
  max-width: 100%;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--accent, var(--green, #16734a));
  color: var(--bg, #ffffff);
  font-family: inherit;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0;
  cursor: pointer;
}

.mac-handoff-secondary {
  border-color: var(--border, var(--line, #dce2df));
  background: transparent;
  color: inherit;
}

.mac-handoff-button:hover {
  filter: brightness(1.12);
}

.mac-handoff-button:focus-visible,
.mac-handoff-manual input:focus-visible {
  outline: 3px solid var(--accent, var(--green, #16734a));
  outline-offset: 4px;
}

.mac-handoff-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.mac-handoff-status {
  min-height: 22px;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary, var(--muted, #5c6561));
}

.mac-handoff-manual {
  display: block;
  margin: 8px auto 0;
  max-width: 430px;
  font-size: 14px;
  text-align: left;
}

.mac-handoff-manual input {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid var(--border, var(--line, #dce2df));
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
}

.mac-landing-demo {
  display: block;
  width: 100%;
  max-width: 680px;
  aspect-ratio: 16 / 9;
  margin: 24px auto 0;
  border: 1px solid var(--border, var(--line, #dce2df));
  border-radius: 8px;
  background: #101012;
}

.mac-landing-result {
  max-width: 540px;
  margin: 16px auto 0;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--accent, var(--green, #16734a));
  color: var(--text, var(--ink, #151817));
  text-align: left;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
}

.mac-demo-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  padding: 0;
}

.mac-demo-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mac-demo-hidden,
.mac-demo-preview[hidden] {
  display: none !important;
}

.mac-demo-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid #ffffff;
  border-radius: 7px;
  background: #151817;
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
}

.mac-demo-play:focus-visible {
  outline: 3px solid var(--accent, var(--green, #16734a));
  outline-offset: 4px;
}

.hero.mac-landing-hero {
  padding: 116px 0 44px;
}

.hero.mac-landing-hero::before {
  display: none;
}

.mac-landing-hero h1 {
  font-size: 52px;
  letter-spacing: 0;
}

.mac-landing-hero .hero-tagline {
  max-width: 540px;
  margin-bottom: 0;
  font-size: 18px;
  letter-spacing: 0;
}

.mac-landing-hero .mac-landing-demo {
  max-width: 600px;
}

.mac-landing-hero + .section {
  padding-top: 24px;
}

[data-mac-landing-device="mobile"] .mac-landing-hero .hero-meta,
[data-mac-landing-device="mobile"] .hero .availability {
  display: none;
}

.mac-landing-hero .hero-meta {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0;
}

@media (max-width: 720px) {
  .hero.mac-landing-hero {
    padding: 126px 0 28px;
  }

  .mac-landing-hero h1 {
    font-size: 40px;
    margin-bottom: 12px;
  }

  .mac-landing-hero .hero-tagline {
    font-size: 16px;
  }

  .mac-landing-demo {
    margin-top: 18px;
  }

  .mac-handoff {
    margin-top: 20px;
  }

  .mac-handoff-heading {
    font-size: 22px;
  }

  .mac-handoff-button {
    padding: 12px 16px;
  }
}
